Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007899/0.007899, allocations: 169.8 kB / 16.27 MB, free: 6.348 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.558/1.558, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.061/3.061, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004697, allocations: 8.844 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4653, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002516/0.4679, allocations: 1.552 MB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003738/0.4683, allocations: 115.6 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.4684, allocations: 0 / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.4686, allocations: 11.86 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.4687, allocations: 47.62 kB / 1.06 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.4688, allocations: 31.95 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.4691, allocations: 167.1 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.4693, allocations: 21.11 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.4694, allocations: 51.78 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.4695, allocations: 59.77 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.4695, allocations: 8 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.4696, allocations: 4 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.4696, allocations: 15.91 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.4697, allocations: 93.3 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.4699, allocations: 119.8 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.4699, allocations: 4 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.166e-06/0.4699, allocations: 0 / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.47, allocations: 0 / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008778/0.4708, allocations: 443 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4709, allocations: 8.031 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.4709, allocations: 16.75 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.4712, allocations: 208.6 kB / 1.062 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4713, allocations: 8.375 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.4713, allocations: 4.375 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.4716, allocations: 123.9 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4716, allocations: 192 / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.4717, allocations: 7.938 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4717, allocations: 7.938 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.472, allocations: 103.9 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.4729, allocations: 484.5 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.4733, allocations: 133.3 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.4735, allocations: 69.72 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.4735, allocations: 4 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.4735, allocations: 42.55 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.4735, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006685/0.4742, allocations: 197.5 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.4743, allocations: 81.11 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.4745, allocations: 170.9 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.4745, allocations: 25.7 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.4746, allocations: 120 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.4746, allocations: 35.61 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.4747, allocations: 9.719 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4748, allocations: 330.8 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.475, allocations: 43.97 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4752, allocations: 77.61 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.4755, allocations: 113.7 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4755, allocations: 0 / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004143/0.4759, allocations: 165.7 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4759, allocations: 8.125 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4759, allocations: 4.062 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.476, allocations: 7.922 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.4761, allocations: 31.98 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4761, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.4763, allocations: 16.17 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.4763, allocations: 7.938 kB / 1.064 GB, free: 15.87 MB / 0.8262 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 (10): * Single equations (assignments): 10 * 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.0001148/0.4764, allocations: 115.2 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.4765, allocations: 27.73 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.4769, allocations: 166.6 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.477, allocations: 3.984 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.477, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.477, allocations: 7.938 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.4773, allocations: 217.5 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4773, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.4775, allocations: 31.98 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.4775, allocations: 4 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4775, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4775, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4775, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.478, allocations: 334.5 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.4781, allocations: 85.02 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.4781, allocations: 4 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.4783, allocations: 15.98 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.4784, allocations: 11.98 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.4784, allocations: 3.938 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001144/0.4785, allocations: 127.2 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4785, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002909/0.4788, allocations: 24 kB / 1.065 GB, free: 14.62 MB / 0.8262 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 (9): * Single equations (assignments): 9 * 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.0001368/0.4789, allocations: 103.2 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.4793, allocations: 115.9 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4794, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.4795, allocations: 68.22 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.4801, allocations: 33.84 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.4806, allocations: 276 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.481, allocations: 0.7086 MB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.698e-05/0.4811, allocations: 12.64 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.4811, allocations: 11.44 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4812, allocations: 4 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.005288/0.4864, allocations: 1.912 MB / 1.068 GB, free: 11.37 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches