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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.366/2.366, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001072/0.001072, allocations: 183.9 kB / 0.4902 GB, free: 2.25 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.55/1.55, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.00095/0.0009501, allocations: 106.3 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003916, allocations: 6.75 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3881, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.5934, allocations: 150.7 MB / 1.376 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5937, allocations: 75.95 kB / 1.376 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005455/0.5992, allocations: 1.883 MB / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.434e-06/0.5992, allocations: 0 / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.5992, allocations: 7.984 kB / 1.378 GB, free: 0.9453 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.0006996/0.5999, allocations: 434.8 kB / 1.379 GB, free: 484 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.814e-05/0.6, allocations: 24.44 kB / 1.379 GB, free: 460 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.6001, allocations: 19.7 kB / 1.379 GB, free: 440 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.6004, allocations: 200.6 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.6004, allocations: 8 kB / 1.379 GB, free: 192 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.6004, allocations: 8 kB / 1.379 GB, free: 184 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.6007, allocations: 126.7 kB / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.6007, allocations: 0 / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.6008, allocations: 0 / 1.379 GB, free: 48 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.6008, allocations: 8 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.6011, allocations: 107.9 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007834/0.6019, allocations: 481.5 kB / 1.38 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.6023, allocations: 137.3 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.6023, allocations: 4 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.6024, allocations: 38.52 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.6024, allocations: 0 / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0006316/0.603, allocations: 201.5 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.6031, allocations: 85.11 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.6032, allocations: 151 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.6033, allocations: 25.7 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.6034, allocations: 108.2 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.6034, allocations: 31.55 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.6034, allocations: 0 / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6036, allocations: 326.8 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.6037, allocations: 47.97 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.6039, allocations: 61.69 kB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.604, allocations: 63.91 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.604, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003363/0.6044, allocations: 157.5 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.6044, allocations: 9.719 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6044, allocations: 0 / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6044, allocations: 3.953 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.6046, allocations: 31.91 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.6046, allocations: 4 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.6047, allocations: 12.38 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.6048, allocations: 4 kB / 1.381 GB, free: 13.85 MB / 0.8855 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.0001019/0.6049, allocations: 122 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.6049, allocations: 11.81 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.6054, allocations: 186.4 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.6054, allocations: 7.953 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6054, allocations: 0 / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6054, allocations: 3.984 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.6057, allocations: 221.9 kB / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6057, allocations: 0 / 1.382 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.6059, allocations: 27.98 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6059, allocations: 0 / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.6059, allocations: 3.984 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.6059, allocations: 7.938 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6059, allocations: 3.953 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.6063, allocations: 340.2 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.6064, allocations: 85.02 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.6064, allocations: 4 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.6066, allocations: 19.94 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.6067, allocations: 7.984 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.6067, allocations: 4 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001048/0.6068, allocations: 132.2 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6068, allocations: 0 / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002653/0.6071, allocations: 31.91 kB / 1.382 GB, free: 12.55 MB / 0.8855 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.000111/0.6072, allocations: 96.05 kB / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.6075, allocations: 119.9 kB / 1.382 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6076, allocations: 0 / 1.382 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.6077, allocations: 71.89 kB / 1.382 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.6081, allocations: 33.7 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.6086, allocations: 260 kB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.6088, allocations: 0.7126 MB / 1.383 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.956e-05/0.6089, allocations: 20.42 kB / 1.383 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.609, allocations: 11.44 kB / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.609, allocations: 0 / 1.383 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of Templates: time 0.004288/0.6133, allocations: 1.832 MB / 1.385 GB, free: 9.379 MB / 0.8855 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","../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches