Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 193.2 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 67.89 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5653/0.5664, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002093/0.5686, allocations: 0.8329 MB / 1.018 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000904/0.5695, allocations: 0.8274 MB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.5696, allocations: 0 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.5698, allocations: 51.88 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.5698, allocations: 39.81 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.74e-05/0.5699, allocations: 15.98 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.57, allocations: 79.77 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.5701, allocations: 27.97 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.5702, allocations: 43.77 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.5704, allocations: 79.78 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.5704, allocations: 8 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.5704, allocations: 4 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.5705, allocations: 31.91 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.5705, allocations: 35.73 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.5707, allocations: 119.6 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5707, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5707, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.5707, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007823/0.5715, allocations: 465.1 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.5715, allocations: 12.03 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.5716, allocations: 38.75 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.5716, allocations: 12.75 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.5718, allocations: 209.6 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.5718, allocations: 4.375 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.5719, allocations: 12.36 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.5723, allocations: 151.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.5723, allocations: 3.938 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5723, allocations: 4 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.5723, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.5728, allocations: 167.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007727/0.5736, allocations: 0.5008 MB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.574, allocations: 173.1 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.5742, allocations: 93.73 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.5743, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.5743, allocations: 42.56 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.5743, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0008237/0.5751, allocations: 281.3 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.5752, allocations: 89.05 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.5753, allocations: 166.1 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.5753, allocations: 29.7 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.5754, allocations: 100.1 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.5754, allocations: 27.56 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.5755, allocations: 25.7 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.5756, allocations: 326.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.5758, allocations: 79.92 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.5761, allocations: 93.56 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.5765, allocations: 173.6 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5765, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005075/0.577, allocations: 201.8 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5771, allocations: 10.34 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5771, allocations: 8.078 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5771, allocations: 3.984 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.5773, allocations: 31.97 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5773, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.5774, allocations: 31.86 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5775, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.5776, allocations: 130.3 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.5776, allocations: 15.84 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.5777, allocations: 20.25 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5777, allocations: 3.938 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5777, allocations: 0 / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.5777, allocations: 7.984 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.578, allocations: 221.5 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.578, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.5781, allocations: 39.95 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5782, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.5782, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5782, allocations: 4 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5782, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.5787, allocations: 382.4 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.5788, allocations: 88.95 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.5788, allocations: 3.984 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.579, allocations: 27.97 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.5791, allocations: 7.984 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.5791, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.894e-05/0.5792, allocations: 127.2 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5792, allocations: 0 / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002589/0.5794, allocations: 20 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008284/0.5803, allocations: 0.9184 MB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004896/0.5808, allocations: 163.8 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5808, allocations: 4 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.581, allocations: 91.86 kB / 1.024 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.5814, allocations: 17.62 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.5838, allocations: 1.997 MB / 1.026 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.5841, allocations: 0.7119 MB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.924e-05/0.5842, allocations: 23.97 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.5843, allocations: 35.42 kB / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5843, allocations: 0 / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.596, allocations: 2.35 MB / 1.03 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.5962, allocations: 200.7 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.192, allocations: 3.938 kB / 1.03 GB, free: 5.051 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches