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.288/2.288, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001095/0.001095, allocations: 165 kB / 492.3 MB, free: 0.6367 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.513/1.513, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009183/0.0009186, allocations: 100.2 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.76e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2758, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8355/1.111, allocations: 149.8 MB / 1.359 GB, free: 19.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/1.112, allocations: 72.89 kB / 1.359 GB, free: 19.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005411/1.117, allocations: 1.888 MB / 1.361 GB, free: 34.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/1.117, allocations: 0 / 1.361 GB, free: 34.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.434e-05/1.117, allocations: 3.344 kB / 1.361 GB, free: 34.75 MB / 0.8386 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.000489/1.118, allocations: 417.5 kB / 1.361 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/1.118, allocations: 12.06 kB / 1.361 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/1.118, allocations: 11.44 kB / 1.361 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/1.118, allocations: 210.9 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/1.118, allocations: 7.656 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/1.118, allocations: 3.844 kB / 1.361 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/1.118, allocations: 96.17 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.118, allocations: 5.859 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/1.118, allocations: 3.812 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.118, allocations: 3.719 kB / 1.361 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/1.118, allocations: 61.39 kB / 1.361 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/1.119, allocations: 486.7 kB / 1.362 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/1.119, allocations: 117.2 kB / 1.362 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/1.119, allocations: 43.44 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/1.119, allocations: 0 / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/1.119, allocations: 38.06 kB / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 9.01e-07/1.119, allocations: 0 / 1.362 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002354/1.119, allocations: 110.4 kB / 1.362 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/1.119, allocations: 81.11 kB / 1.362 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/1.12, allocations: 155.7 kB / 1.362 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/1.12, allocations: 25.7 kB / 1.362 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/1.12, allocations: 107 kB / 1.363 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/1.12, allocations: 27.55 kB / 1.363 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/1.12, allocations: 7.219 kB / 1.363 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/1.12, allocations: 321.2 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/1.12, allocations: 25.91 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.325e-05/1.12, allocations: 47.75 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.709e-05/1.12, allocations: 26.69 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.12, allocations: 3.938 kB / 1.363 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001549/1.12, allocations: 110.3 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.12, allocations: 3.844 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.12, allocations: 0 / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.12, allocations: 7.766 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/1.12, allocations: 29.62 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/1.12, allocations: 4 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/1.12, allocations: 18.42 kB / 1.363 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/1.121, allocations: 3.938 kB / 1.363 GB, free: 32.86 MB / 0.8386 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 7.93e-05/1.121, allocations: 109.5 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/1.121, allocations: 15.66 kB / 1.363 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/1.121, allocations: 130.3 kB / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.121, allocations: 0 / 1.363 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.121, allocations: 3.953 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/1.121, allocations: 1.734 kB / 1.363 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/1.121, allocations: 218.2 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.121, allocations: 3.938 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/1.121, allocations: 28.88 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.121, allocations: 256 / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.121, allocations: 0 / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.121, allocations: 8 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.121, allocations: 7.781 kB / 1.364 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/1.122, allocations: 288.3 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/1.122, allocations: 97.72 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/1.122, allocations: 4.875 kB / 1.364 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/1.122, allocations: 19.69 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/1.122, allocations: 9.844 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/1.122, allocations: 3.844 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.507e-05/1.122, allocations: 126.3 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.122, allocations: 0 / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002409/1.122, allocations: 29.62 kB / 1.364 GB, free: 32.06 MB / 0.8386 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 7.911e-05/1.122, allocations: 95.52 kB / 1.364 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001505/1.122, allocations: 76.7 kB / 1.364 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.122, allocations: 0 / 1.364 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.219e-05/1.123, allocations: 37.62 kB / 1.364 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/1.123, allocations: 50.47 kB / 1.364 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/1.123, allocations: 149.6 kB / 1.365 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/1.123, allocations: 0.707 MB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.186e-05/1.124, allocations: 19.23 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/1.124, allocations: 14.56 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.124, allocations: 0 / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.003941/1.128, allocations: 1.838 MB / 1.367 GB, free: 31.04 MB / 0.8386 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