Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 187.3 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008611/0.0008611, allocations: 88.64 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.411e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7179/0.9995, allocations: 132.5 MB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.9999, allocations: 79.62 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005213/1.005, allocations: 1.856 MB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/1.005, allocations: 0 / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.283e-05/1.005, allocations: 4 kB / 1.017 GB, free: 3.621 MB / 0.6355 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.0005429/1.006, allocations: 413.2 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.006, allocations: 12.03 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/1.006, allocations: 11.81 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/1.006, allocations: 216.4 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/1.006, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/1.006, allocations: 4 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000144/1.006, allocations: 59.56 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/1.006, allocations: 86 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.006, allocations: 0 / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.006, allocations: 0 / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/1.006, allocations: 4 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007005/1.007, allocations: 446.5 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/1.007, allocations: 106.8 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.008e-05/1.008, allocations: 44.34 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/1.008, allocations: 4 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/1.008, allocations: 33.3 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/1.008, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002662/1.008, allocations: 111.5 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/1.008, allocations: 77.11 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/1.008, allocations: 138.8 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/1.008, allocations: 33.7 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/1.008, allocations: 106.7 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/1.008, allocations: 31.17 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/1.008, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.008, allocations: 322.5 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/1.008, allocations: 22.81 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/1.008, allocations: 36.47 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/1.008, allocations: 34.98 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.009, allocations: 4 kB / 1.019 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001725/1.009, allocations: 99.41 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.009, allocations: 6.375 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.009, allocations: 4 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.009, allocations: 3.938 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/1.009, allocations: 27.42 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.009, allocations: 7.891 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/1.009, allocations: 23.89 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/1.009, allocations: 0 / 1.019 GB, free: 1.156 MB / 0.6355 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 () * 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 9.575e-05/1.009, allocations: 109.9 kB / 1.019 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/1.009, allocations: 7.906 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/1.009, allocations: 120.4 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.009, allocations: 3.938 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.009, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.009, allocations: 11.95 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/1.01, allocations: 199 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.01, allocations: 96 / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/1.01, allocations: 23.98 kB / 1.019 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/1.01, allocations: 3.984 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/1.01, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.01, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.01, allocations: 8.172 kB / 1.019 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/1.01, allocations: 290 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/1.01, allocations: 88.92 kB / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/1.01, allocations: 0 / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/1.011, allocations: 15.48 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/1.011, allocations: 7.984 kB / 1.02 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/1.011, allocations: 8 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.577e-05/1.011, allocations: 122.1 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.011, allocations: 0 / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000261/1.011, allocations: 27.94 kB / 1.02 GB, free: 136 kB / 0.6355 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 () * 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.0001197/1.011, allocations: 102.4 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001723/1.011, allocations: 60.92 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.011, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.006e-05/1.011, allocations: 34.12 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/1.012, allocations: 38.83 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/1.012, allocations: 147.3 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/1.012, allocations: 0.708 MB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.896e-05/1.012, allocations: 8.547 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/1.012, allocations: 23.38 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.012, allocations: 3.938 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of Templates: time 0.003875/1.016, allocations: 1.621 MB / 1.023 GB, free: 13.45 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches