Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.008777/0.008777, allocations: 96.89 kB / 15.73 MB, free: 6 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.001727/0.001727, allocations: 189.6 kB / 16.67 MB, free: 5.93 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.634/1.634, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.702/2.702, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.22 kB / 0.9508 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4425, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.005067/0.4476, allocations: 1.832 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006344/0.4483, allocations: 123.6 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.4486, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.4489, allocations: 15.8 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.4491, allocations: 51.55 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.4493, allocations: 31.95 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.4497, allocations: 171.1 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.4499, allocations: 29.09 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.4501, allocations: 59.78 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.4503, allocations: 71.73 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.4503, allocations: 8 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.728e-05/0.4504, allocations: 12 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.4504, allocations: 15.92 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.4505, allocations: 71.66 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.4508, allocations: 131.4 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4508, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.018e-06/0.4509, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.4509, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 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.00114/0.452, allocations: 454.8 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.536e-05/0.4521, allocations: 12.03 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.44e-05/0.4522, allocations: 16.84 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.4526, allocations: 200.2 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.4527, allocations: 8.375 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.4527, allocations: 8.375 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.4531, allocations: 119.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4531, allocations: 4.188 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.4531, allocations: 7.938 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4531, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.4535, allocations: 95.92 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.4545, allocations: 476.7 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.455, allocations: 129.2 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.4552, allocations: 61.78 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.4552, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.4553, allocations: 34.56 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.4553, allocations: 3.938 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006807/0.456, allocations: 181.5 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.456, allocations: 89.03 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.4562, allocations: 167.9 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4563, allocations: 25.7 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.4564, allocations: 108.1 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.4564, allocations: 35.69 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.4565, allocations: 25.66 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4567, allocations: 330.8 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4568, allocations: 39.97 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.457, allocations: 57.69 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.4573, allocations: 101.7 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4573, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004025/0.4577, allocations: 149.8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.4577, allocations: 8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4577, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.4578, allocations: 192 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.4579, allocations: 23.98 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.4579, allocations: 7.938 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.4581, allocations: 11.94 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.4581, allocations: 11.92 kB / 1.093 GB, free: 11.71 MB / 0.8575 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.0001207/0.4582, allocations: 117.8 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.4583, allocations: 23.89 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.4588, allocations: 150.5 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4588, allocations: 4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.4588, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4588, allocations: 4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.4592, allocations: 221.5 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.4592, allocations: 3.984 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.4593, allocations: 23.98 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.4593, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.4594, allocations: 4 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4594, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4594, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.4598, allocations: 322.7 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/0.4599, allocations: 93 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.46, allocations: 3.938 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.4602, allocations: 11.98 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.4602, allocations: 7.938 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.4603, allocations: 7.938 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001364/0.4604, allocations: 135.2 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4604, allocations: 0 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000304/0.4607, allocations: 28 kB / 1.094 GB, free: 10.48 MB / 0.8575 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.0001672/0.4609, allocations: 99.25 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003987/0.4613, allocations: 100.1 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4613, allocations: 4 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.4615, allocations: 60.03 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.462, allocations: 37.31 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/0.4627, allocations: 231.5 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.4631, allocations: 0.7045 MB / 1.096 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000113/0.4632, allocations: 12.78 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.4633, allocations: 15.53 kB / 1.096 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.4633, allocations: 3.938 kB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of Templates: time 0.006867/0.4702, allocations: 2.109 MB / 1.098 GB, free: 7.098 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches