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.001931/0.001931, allocations: 104 kB / 16.41 MB, free: 6.508 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.001715/0.001715, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.47/1.47, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.957/2.957, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.89 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 157.4 MB / 1.208 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.005824/1.188, allocations: 1.825 MB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000484/1.188, allocations: 123.6 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/1.189, allocations: 7.938 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/1.189, allocations: 11.86 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/1.189, allocations: 51.48 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/1.189, allocations: 31.95 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003536/1.189, allocations: 183.2 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/1.19, allocations: 13.12 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/1.19, allocations: 59.83 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/1.19, allocations: 71.62 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/1.19, allocations: 12 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.393e-05/1.19, allocations: 8 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/1.19, allocations: 27.92 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/1.19, allocations: 67.66 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/1.19, allocations: 125.4 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.19, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.186e-06/1.191, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.191, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 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.001101/1.192, allocations: 450.8 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/1.192, allocations: 15.97 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/1.192, allocations: 8.844 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/1.192, allocations: 216.8 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/1.192, allocations: 4.375 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/1.192, allocations: 8.375 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/1.193, allocations: 119.9 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.193, allocations: 192 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/1.193, allocations: 3.938 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/1.193, allocations: 4 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/1.193, allocations: 99.86 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009497/1.194, allocations: 480.6 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/1.194, allocations: 121.2 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/1.195, allocations: 61.78 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/1.195, allocations: 11.92 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/1.195, allocations: 34.56 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/1.195, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0006854/1.195, allocations: 177.4 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.69e-05/1.196, allocations: 89.09 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/1.196, allocations: 168.1 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/1.196, allocations: 29.7 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/1.196, allocations: 104.1 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/1.196, allocations: 31.55 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/1.196, allocations: 17.72 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002242/1.196, allocations: 330.8 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/1.196, allocations: 43.97 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/1.197, allocations: 53.69 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/1.197, allocations: 109.6 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.197, allocations: 3.938 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003967/1.197, allocations: 149.7 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.197, allocations: 4 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.197, allocations: 4.062 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/1.197, allocations: 4 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/1.198, allocations: 19.98 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/1.198, allocations: 0 / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/1.198, allocations: 23.83 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/1.198, allocations: 8.125 kB / 1.214 GB, free: 7.906 MB / 0.9356 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.0001548/1.198, allocations: 117.8 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/1.198, allocations: 15.83 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/1.199, allocations: 154.5 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.199, allocations: 0 / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/1.199, allocations: 8 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/1.199, allocations: 0 / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/1.199, allocations: 229.5 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.199, allocations: 0 / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/1.199, allocations: 27.92 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/1.199, allocations: 0 / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/1.199, allocations: 4 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.199, allocations: 0 / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.199, allocations: 4 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/1.2, allocations: 306.6 kB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.2, allocations: 96.91 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/1.2, allocations: 0 / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/1.2, allocations: 11.98 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/1.2, allocations: 8 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/1.2, allocations: 7.938 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001289/1.2, allocations: 127.2 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.2, allocations: 0 / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002948/1.201, allocations: 28 kB / 1.215 GB, free: 6.684 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.0001821/1.201, allocations: 99.19 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004021/1.201, allocations: 103.9 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.201, allocations: 4 kB / 1.215 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/1.201, allocations: 56.22 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/1.202, allocations: 51.98 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007221/1.203, allocations: 257.2 kB / 1.215 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/1.203, allocations: 0.7126 MB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/1.203, allocations: 11.44 kB / 1.216 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/1.203, allocations: 3.938 kB / 1.216 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.004324/1.208, allocations: 1.759 MB / 1.218 GB, free: 3.586 MB / 0.9356 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