Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.005761/0.005761, allocations: 96.3 kB / 15.73 MB, free: 6.484 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.001129/0.001129, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.884/2.884, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.91 kB / 1.018 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4702/0.4717, allocations: 151.6 MB / 1.167 GB, free: 6.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004693/0.4764, allocations: 1.824 MB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.477, allocations: 119.5 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.4772, allocations: 3.938 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.4775, allocations: 23.8 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.4777, allocations: 47.55 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.4779, allocations: 39.95 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.4783, allocations: 167.1 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.4785, allocations: 29.09 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.4787, allocations: 51.86 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.4788, allocations: 67.69 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.4789, allocations: 16 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.748e-05/0.4789, allocations: 8 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.4791, allocations: 27.91 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.4792, allocations: 63.67 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.4795, allocations: 127.4 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.4795, allocations: 3.984 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4795, allocations: 0 / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.4795, allocations: 0 / 1.169 GB, free: 4.23 MB / 0.92 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.001038/0.4806, allocations: 458.7 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/0.4806, allocations: 15.98 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/0.4807, allocations: 8.891 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.4812, allocations: 212.1 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4812, allocations: 4.375 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.4813, allocations: 4.375 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.4817, allocations: 130.3 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.4817, allocations: 192 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.4817, allocations: 11.92 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.4817, allocations: 4 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.4821, allocations: 87.94 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.4831, allocations: 476.7 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.4836, allocations: 125.2 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.4838, allocations: 61.78 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.4839, allocations: 4 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.4839, allocations: 38.55 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.924e-06/0.4839, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0007056/0.4846, allocations: 181.6 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.4847, allocations: 77.11 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.485, allocations: 175.9 kB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.485, allocations: 29.7 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.4852, allocations: 112 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.4852, allocations: 31.73 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.4853, allocations: 17.72 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.4855, allocations: 338.7 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.4857, allocations: 43.97 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.4859, allocations: 61.69 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.4862, allocations: 109.6 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4862, allocations: 0 / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004217/0.4866, allocations: 145.5 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.4867, allocations: 7.984 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4867, allocations: 0 / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.4867, allocations: 0 / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.4869, allocations: 23.98 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.4869, allocations: 0 / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.4871, allocations: 19.94 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.4871, allocations: 7.938 kB / 1.172 GB, free: 1.008 MB / 0.92 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.0001737/0.4873, allocations: 121.8 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.553e-05/0.4874, allocations: 7.953 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.4879, allocations: 162.5 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4879, allocations: 0 / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4879, allocations: 0 / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4879, allocations: 4 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.4884, allocations: 229.7 kB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.4884, allocations: 4 kB / 1.173 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.4886, allocations: 19.98 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4886, allocations: 4 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4886, allocations: 0 / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4886, allocations: 0 / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4886, allocations: 4 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.4892, allocations: 318.5 kB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.4894, allocations: 89.06 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.4895, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.4897, allocations: 15.98 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.4898, allocations: 12.5 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.4898, allocations: 3.938 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001589/0.4899, allocations: 123.2 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.49, allocations: 3.938 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003502/0.4903, allocations: 28 kB / 1.173 GB, free: 15.78 MB / 0.9356 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.0002502/0.4906, allocations: 103.2 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004681/0.491, allocations: 111.9 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4911, allocations: 0 / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.4913, allocations: 51.97 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.4918, allocations: 48.27 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008155/0.4927, allocations: 235.2 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.4933, allocations: 0.7006 MB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.4934, allocations: 16.64 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.4935, allocations: 11.44 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of SimCode: time 6.82e-07/0.4935, allocations: 4 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of Templates: time 0.008261/0.5017, allocations: 2.099 MB / 1.176 GB, free: 12.39 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches