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.01411/0.01411, allocations: 104.7 kB / 15.74 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.002254/0.002254, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.988/2.988, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 60.12 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4306, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003186/0.4339, allocations: 1.82 MB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003255/0.4342, allocations: 111.6 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.4343, allocations: 4 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.4345, allocations: 19.78 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.4346, allocations: 43.58 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.4347, allocations: 39.94 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.4349, allocations: 175.1 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.4351, allocations: 21.12 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.4352, allocations: 51.78 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.4353, allocations: 71.75 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.4353, allocations: 12 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.292e-05/0.4354, allocations: 8 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.4354, allocations: 23.92 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.4355, allocations: 67.66 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.4356, allocations: 127.5 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4357, allocations: 0 / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4357, allocations: 0 / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.4357, allocations: 0 / 1.21 GB, free: 7.07 MB / 0.9669 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.0007592/0.4364, allocations: 456.7 kB / 1.211 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4365, allocations: 16.56 kB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.4365, allocations: 12.84 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.4369, allocations: 208 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4369, allocations: 4.375 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.4369, allocations: 12.31 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.4372, allocations: 113.5 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4372, allocations: 192 / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.4372, allocations: 7.938 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.4373, allocations: 11.97 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.4375, allocations: 91.88 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.4383, allocations: 472.7 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.4387, allocations: 129.2 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.4388, allocations: 65.78 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4389, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.4389, allocations: 30.56 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.4389, allocations: 0 / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005959/0.4395, allocations: 189.3 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.4396, allocations: 88.98 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4397, allocations: 168.1 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.4398, allocations: 29.7 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.4398, allocations: 108 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.4399, allocations: 31.55 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.4399, allocations: 29.72 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.4401, allocations: 326.8 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4402, allocations: 43.97 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.4404, allocations: 57.69 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.4406, allocations: 109.6 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4407, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003475/0.441, allocations: 141.8 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.441, allocations: 5.719 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.441, allocations: 0 / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4411, allocations: 4 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.4412, allocations: 23.92 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.4412, allocations: 7.984 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.4414, allocations: 11.91 kB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.4414, allocations: 8.125 kB / 1.213 GB, free: 3.855 MB / 0.9669 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.0001075/0.4415, allocations: 121.8 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.4416, allocations: 11.84 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.442, allocations: 158.5 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.442, allocations: 0 / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.442, allocations: 4 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.442, allocations: 0 / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.4423, allocations: 233.4 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4423, allocations: 4 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.4425, allocations: 19.98 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4425, allocations: 0 / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4425, allocations: 0 / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4425, allocations: 3.938 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4425, allocations: 8 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.4429, allocations: 306.6 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.443, allocations: 92.91 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.443, allocations: 8 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.4432, allocations: 11.98 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.4432, allocations: 8.172 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.4432, allocations: 3.938 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.306e-05/0.4433, allocations: 135.2 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4433, allocations: 0 / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002845/0.4436, allocations: 28 kB / 1.214 GB, free: 2.625 MB / 0.9669 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.0001083/0.4437, allocations: 95.25 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.4441, allocations: 116 kB / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4441, allocations: 0 / 1.214 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.4443, allocations: 59.89 kB / 1.214 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.4447, allocations: 40 kB / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.4452, allocations: 224 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.4455, allocations: 0.7084 MB / 1.215 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.692e-05/0.4456, allocations: 8.656 kB / 1.215 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.4456, allocations: 15.44 kB / 1.215 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.4457, allocations: 0 / 1.215 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of Templates: time 0.005107/0.4508, allocations: 2.106 MB / 1.217 GB, free: 15.24 MB / 0.9825 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