Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001277/0.001277, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.00963/0.00963, allocations: 174.4 kB / 16.27 MB, free: 6.613 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.577/1.577, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.298/3.298, allocations: 470.6 MB / 0.7441 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006084/0.0006084, allocations: 13.38 kB / 0.9123 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5315, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002736/0.5343, allocations: 1.538 MB / 1.071 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003712/0.5347, allocations: 115.6 kB / 1.071 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.5349, allocations: 0 / 1.071 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.535, allocations: 15.8 kB / 1.072 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.5352, allocations: 51.61 kB / 1.072 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.5353, allocations: 27.97 kB / 1.072 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.5356, allocations: 163.1 kB / 1.072 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.5358, allocations: 29.09 kB / 1.072 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.835e-05/0.5359, allocations: 55.77 kB / 1.072 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.536, allocations: 55.77 kB / 1.072 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.536, allocations: 8 kB / 1.072 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.52e-05/0.5361, allocations: 4 kB / 1.072 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.5361, allocations: 15.86 kB / 1.072 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.5362, allocations: 85.42 kB / 1.072 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.5364, allocations: 119.8 kB / 1.072 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.5365, allocations: 4 kB / 1.072 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5365, allocations: 0 / 1.072 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.5365, allocations: 4 kB / 1.072 GB, free: 9.121 MB / 0.8262 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.0008676/0.5373, allocations: 439 kB / 1.073 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5374, allocations: 12.03 kB / 1.073 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.5375, allocations: 16.75 kB / 1.073 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.5377, allocations: 204 kB / 1.073 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.5378, allocations: 8.375 kB / 1.073 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.5378, allocations: 4.375 kB / 1.073 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.5381, allocations: 130.3 kB / 1.073 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5382, allocations: 192 / 1.073 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.5382, allocations: 3.938 kB / 1.073 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.5382, allocations: 4 kB / 1.073 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.5385, allocations: 111.9 kB / 1.073 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.5393, allocations: 480.6 kB / 1.073 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.5397, allocations: 133.2 kB / 1.074 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.5399, allocations: 73.78 kB / 1.074 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.54, allocations: 0 / 1.074 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.54, allocations: 38.5 kB / 1.074 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.54, allocations: 0 / 1.074 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0006625/0.5407, allocations: 205.4 kB / 1.074 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.5408, allocations: 77.11 kB / 1.074 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.541, allocations: 170.4 kB / 1.074 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.541, allocations: 29.64 kB / 1.074 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.5411, allocations: 116 kB / 1.074 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.5412, allocations: 31.55 kB / 1.074 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.5412, allocations: 13.72 kB / 1.074 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5414, allocations: 326.8 kB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.5415, allocations: 51.97 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.5417, allocations: 73.61 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.542, allocations: 117.6 kB / 1.075 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5421, allocations: 0 / 1.075 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003845/0.5424, allocations: 165.7 kB / 1.075 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5425, allocations: 6.031 kB / 1.075 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.5425, allocations: 0 / 1.075 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5425, allocations: 3.938 kB / 1.075 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.5427, allocations: 31.97 kB / 1.075 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5427, allocations: 0 / 1.075 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.5428, allocations: 12.19 kB / 1.075 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.5428, allocations: 11.92 kB / 1.075 GB, free: 5.824 MB / 0.8262 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.0001187/0.543, allocations: 117.8 kB / 1.075 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.543, allocations: 19.8 kB / 1.075 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.5435, allocations: 170.5 kB / 1.075 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5435, allocations: 0 / 1.075 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5435, allocations: 0 / 1.075 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.5435, allocations: 7.984 kB / 1.075 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.5439, allocations: 225.5 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5439, allocations: 0 / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.544, allocations: 31.92 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5441, allocations: 4 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5441, allocations: 0 / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5441, allocations: 0 / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5441, allocations: 0 / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.5446, allocations: 334.5 kB / 1.076 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.5446, allocations: 85.02 kB / 1.076 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.5447, allocations: 8 kB / 1.076 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.5448, allocations: 15.98 kB / 1.076 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.5449, allocations: 7.984 kB / 1.076 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.5449, allocations: 3.938 kB / 1.076 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001183/0.545, allocations: 132.5 kB / 1.076 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.545, allocations: 0 / 1.076 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002912/0.5453, allocations: 27.91 kB / 1.076 GB, free: 4.562 MB / 0.8262 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.0001378/0.5455, allocations: 103.2 kB / 1.076 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004054/0.5459, allocations: 124.2 kB / 1.076 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5459, allocations: 0 / 1.076 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.5461, allocations: 71.89 kB / 1.076 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.5466, allocations: 35.97 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.5472, allocations: 260.1 kB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.5476, allocations: 0.7048 MB / 1.077 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.23e-05/0.5477, allocations: 16.64 kB / 1.077 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.5477, allocations: 11.44 kB / 1.077 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.5477, allocations: 4 kB / 1.077 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of Templates: time 0.005795/0.5535, allocations: 1.908 MB / 1.079 GB, free: 1.312 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches