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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.007889/0.007889, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001949/0.001949, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.517/1.517, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.925/2.925, allocations: 461.9 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 64.05 kB / 0.899 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4529, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004399/0.4574, allocations: 1.889 MB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004827/0.4579, allocations: 123.6 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.4581, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.4583, allocations: 7.922 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.4586, allocations: 43.58 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.4588, allocations: 39.94 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.4591, allocations: 159.2 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.4593, allocations: 25.09 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.4594, allocations: 47.8 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.4596, allocations: 67.69 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.4596, allocations: 8 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.363e-05/0.4596, allocations: 8 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.4597, allocations: 27.78 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.4598, allocations: 59.72 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.46, allocations: 80.11 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.46, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.944e-06/0.46, allocations: 4 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.46, allocations: 0 / 1.055 GB, free: 5.723 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.001075/0.4611, allocations: 454.9 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.4611, allocations: 15.91 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.4612, allocations: 16.75 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.4615, allocations: 200.1 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4616, allocations: 8.375 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.4616, allocations: 8.312 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.462, allocations: 119.9 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.462, allocations: 192 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.462, allocations: 3.938 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.462, allocations: 3.984 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.4623, allocations: 95.88 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000899/0.4633, allocations: 476.6 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.4637, allocations: 129.2 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.4639, allocations: 65.78 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.4639, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.464, allocations: 34.56 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.464, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006591/0.4647, allocations: 189.4 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.4648, allocations: 81.05 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.465, allocations: 167.9 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.465, allocations: 25.7 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.4651, allocations: 116 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.4651, allocations: 31.55 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.4652, allocations: 17.72 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4654, allocations: 334.8 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4656, allocations: 39.97 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.4657, allocations: 53.69 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.466, allocations: 105.6 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4661, allocations: 4 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003814/0.4664, allocations: 141.6 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.4665, allocations: 8 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4665, allocations: 3.938 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.4665, allocations: 0 / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.4667, allocations: 27.92 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.4667, allocations: 3.984 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.4669, allocations: 12 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.4669, allocations: 7.938 kB / 1.058 GB, free: 2.52 MB / 0.8106 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.000136/0.4671, allocations: 121.8 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.4671, allocations: 19.81 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.4676, allocations: 158.9 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.4676, allocations: 240 / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.4676, allocations: 4.062 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.4677, allocations: 3.984 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.468, allocations: 229.5 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.468, allocations: 0 / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.4682, allocations: 23.98 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4682, allocations: 0 / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4682, allocations: 4 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4682, allocations: 3.938 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4682, allocations: 0 / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.4688, allocations: 318.5 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.4688, allocations: 89 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.4689, allocations: 0 / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.4691, allocations: 11.98 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.4691, allocations: 11.98 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.4692, allocations: 7.938 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001414/0.4693, allocations: 128.2 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4693, allocations: 0 / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002975/0.4696, allocations: 28 kB / 1.059 GB, free: 1.285 MB / 0.8106 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.0001569/0.4698, allocations: 99.25 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.4702, allocations: 99.88 kB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.4702, allocations: 4 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.4704, allocations: 55.89 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.471, allocations: 43.92 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.4718, allocations: 287 kB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.4722, allocations: 0.7048 MB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.4723, allocations: 15.44 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.4723, allocations: 0 / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.004894/0.4772, allocations: 1.75 MB / 1.062 GB, free: 14.19 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches