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.007341/0.007341, allocations: 102.8 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.0013/0.0013, allocations: 192.3 kB / 16.67 MB, free: 5.926 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.424/1.424, allocations: 222.9 MB / 240.4 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.706/2.706, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409/1.41, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003791/1.414, allocations: 1.825 MB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000364/1.415, allocations: 119.6 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/1.415, allocations: 0 / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/1.415, allocations: 15.86 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/1.415, allocations: 51.5 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/1.415, allocations: 39.95 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/1.416, allocations: 167.2 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/1.416, allocations: 25.11 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/1.416, allocations: 59.78 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/1.416, allocations: 63.7 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/1.416, allocations: 12 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.2e-05/1.416, allocations: 12 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/1.416, allocations: 27.84 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/1.416, allocations: 63.67 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/1.416, allocations: 131.4 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/1.416, allocations: 0 / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.605e-06/1.416, allocations: 0 / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.955e-06/1.416, allocations: 0 / 1.21 GB, free: 11.01 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.0009659/1.417, allocations: 452.7 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/1.418, allocations: 8.031 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/1.418, allocations: 12.84 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/1.418, allocations: 208.9 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/1.418, allocations: 8.375 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/1.418, allocations: 4.375 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/1.418, allocations: 117.7 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.418, allocations: 4.188 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/1.418, allocations: 7.938 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/1.418, allocations: 0 / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/1.419, allocations: 99.84 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/1.42, allocations: 476.7 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/1.42, allocations: 129.2 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/1.42, allocations: 65.67 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/1.42, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/1.42, allocations: 42.5 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/1.42, allocations: 0 / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0006128/1.421, allocations: 181.4 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/1.421, allocations: 77.11 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/1.421, allocations: 176.1 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/1.421, allocations: 25.7 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/1.421, allocations: 104.1 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/1.421, allocations: 27.56 kB / 1.212 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/1.421, allocations: 25.7 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.422, allocations: 330.8 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/1.422, allocations: 39.97 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/1.422, allocations: 65.56 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/1.422, allocations: 113.8 kB / 1.213 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.422, allocations: 0 / 1.213 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003383/1.422, allocations: 141.5 kB / 1.213 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.423, allocations: 8 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.423, allocations: 0 / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.423, allocations: 0 / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/1.423, allocations: 23.92 kB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/1.423, allocations: 4 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/1.423, allocations: 19.83 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/1.423, allocations: 11.94 kB / 1.213 GB, free: 7.797 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.0001134/1.423, allocations: 113.8 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/1.423, allocations: 11.91 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/1.423, allocations: 154.5 kB / 1.213 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.424, allocations: 8 kB / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.424, allocations: 0 / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.424, allocations: 0 / 1.213 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/1.424, allocations: 229.5 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.424, allocations: 0 / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/1.424, allocations: 27.91 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/1.424, allocations: 0 / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.424, allocations: 4.188 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.424, allocations: 4 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.424, allocations: 0 / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/1.424, allocations: 314.6 kB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/1.425, allocations: 92.92 kB / 1.214 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/1.425, allocations: 3.984 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/1.425, allocations: 4 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/1.425, allocations: 15.98 kB / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/1.425, allocations: 7.938 kB / 1.214 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001025/1.425, allocations: 119.2 kB / 1.214 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.425, allocations: 0 / 1.214 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003015/1.425, allocations: 35.94 kB / 1.214 GB, free: 6.574 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.0001677/1.425, allocations: 99.47 kB / 1.214 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003878/1.426, allocations: 104.2 kB / 1.214 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.426, allocations: 3.938 kB / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/1.426, allocations: 63.83 kB / 1.214 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/1.427, allocations: 44.33 kB / 1.214 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/1.427, allocations: 235.5 kB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/1.428, allocations: 0.7006 MB / 1.215 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.612e-05/1.428, allocations: 16.64 kB / 1.215 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/1.428, allocations: 11.44 kB / 1.215 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/1.428, allocations: 0 / 1.215 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of Templates: time 0.005921/1.434, allocations: 2.162 MB / 1.218 GB, free: 3.121 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/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