Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 189.2 kB / 498.1 MB, free: 5.723 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 223.2 MB / 0.7948 GB, free: 17.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009298/0.0009296, allocations: 104.2 kB / 0.9346 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004627, allocations: 10.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3712, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.5723, allocations: 149.9 MB / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5726, allocations: 71.95 kB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005572/0.5782, allocations: 1.895 MB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5782, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.5783, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 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.0007435/0.579, allocations: 439.5 kB / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5791, allocations: 8.031 kB / 1.372 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.5791, allocations: 19.86 kB / 1.372 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.5795, allocations: 206.8 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.5795, allocations: 8 kB / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.5795, allocations: 4 kB / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.5799, allocations: 126.2 kB / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5799, allocations: 0 / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.5799, allocations: 0 / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5799, allocations: 4 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.5803, allocations: 107.9 kB / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.5811, allocations: 495.4 kB / 1.372 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.5815, allocations: 137.3 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.5816, allocations: 3.938 kB / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.5816, allocations: 38.45 kB / 1.373 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/0.5816, allocations: 4 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0006047/0.5822, allocations: 205.5 kB / 1.373 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.5823, allocations: 81.11 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.5825, allocations: 150.4 kB / 1.373 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.5825, allocations: 29.7 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.5826, allocations: 104.3 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.5826, allocations: 31.55 kB / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.5827, allocations: 4 kB / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5828, allocations: 322.8 kB / 1.374 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.583, allocations: 51.97 kB / 1.374 GB, free: 7.383 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.5831, allocations: 61.69 kB / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.5833, allocations: 55.97 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5833, allocations: 0 / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003602/0.5836, allocations: 161.4 kB / 1.374 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5837, allocations: 4 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.5837, allocations: 0 / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.5837, allocations: 11.89 kB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.5839, allocations: 27.97 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.5839, allocations: 3.938 kB / 1.374 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.5841, allocations: 27.92 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.5841, allocations: 0 / 1.374 GB, free: 7.023 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.5842, allocations: 117.6 kB / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.5843, allocations: 15.81 kB / 1.374 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.5847, allocations: 174.5 kB / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.5847, allocations: 3.953 kB / 1.374 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.5848, allocations: 7.984 kB / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5848, allocations: 448 / 1.374 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.5851, allocations: 209.6 kB / 1.374 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5851, allocations: 0 / 1.374 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.5852, allocations: 31.98 kB / 1.374 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.5852, allocations: 4 kB / 1.374 GB, free: 6.406 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.5853, allocations: 4 kB / 1.374 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5853, allocations: 0 / 1.374 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5853, allocations: 3.953 kB / 1.374 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.5857, allocations: 344.4 kB / 1.375 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.5858, allocations: 88.92 kB / 1.375 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.5858, allocations: 4 kB / 1.375 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.586, allocations: 23.94 kB / 1.375 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.5861, allocations: 11.92 kB / 1.375 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.5861, allocations: 0 / 1.375 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001093/0.5862, allocations: 131.2 kB / 1.375 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5862, allocations: 0 / 1.375 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002706/0.5865, allocations: 27.94 kB / 1.375 GB, free: 5.738 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.5866, allocations: 99.25 kB / 1.375 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.587, allocations: 119.9 kB / 1.375 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.587, allocations: 0 / 1.375 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.5872, allocations: 59.97 kB / 1.375 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.5875, allocations: 40.25 kB / 1.375 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.5881, allocations: 256.1 kB / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.5885, allocations: 0.7165 MB / 1.376 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000101/0.5886, allocations: 16.52 kB / 1.376 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.5887, allocations: 19.38 kB / 1.376 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of SimCode: time 1.91e-07/0.5887, allocations: 0 / 1.376 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of Templates: time 0.004872/0.5935, allocations: 1.83 MB / 1.378 GB, free: 2.57 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches