Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001079/0.001079, allocations: 183.7 kB / 487.4 MB, free: 5.047 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.521/1.521, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 99.84 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.133e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3384, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.384, allocations: 150 MB / 1.352 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/1.384, allocations: 76.02 kB / 1.353 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02082/1.405, allocations: 7.911 MB / 1.36 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/1.405, allocations: 0 / 1.36 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.918e-05/1.405, allocations: 11.47 kB / 1.36 GB, free: 33.65 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00132/1.406, allocations: 0.6973 MB / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.406, allocations: 7.656 kB / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/1.407, allocations: 63.94 kB / 1.361 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/1.407, allocations: 254.8 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/1.407, allocations: 22.59 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.407, allocations: 34.81 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006051/1.408, allocations: 296.7 kB / 1.362 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/1.408, allocations: 412.2 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.408, allocations: 0 / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/1.408, allocations: 3.812 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/1.408, allocations: 11.56 kB / 1.362 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/1.411, allocations: 1.362 MB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/1.411, allocations: 257.3 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/1.411, allocations: 157.5 kB / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/1.411, allocations: 14.2 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/1.412, allocations: 170.4 kB / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=34): time 1.993e-06/1.412, allocations: 0 / 1.364 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.0004404/1.412, allocations: 243.5 kB / 1.364 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/1.412, allocations: 88.36 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/1.413, allocations: 223.8 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/1.413, allocations: 33.55 kB / 1.364 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/1.413, allocations: 274.9 kB / 1.365 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/1.413, allocations: 100.5 kB / 1.365 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/1.413, allocations: 3.844 kB / 1.365 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.413, allocations: 338.2 kB / 1.365 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/1.413, allocations: 104.1 kB / 1.365 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/1.413, allocations: 154.2 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/1.414, allocations: 134.2 kB / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.414, allocations: 0 / 1.366 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006167/1.414, allocations: 357.5 kB / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/1.414, allocations: 36.69 kB / 1.366 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.414, allocations: 0 / 1.366 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.414, allocations: 3.875 kB / 1.366 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/1.415, allocations: 77.8 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.415, allocations: 7.844 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/1.415, allocations: 62.39 kB / 1.366 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/1.415, allocations: 19.03 kB / 1.366 GB, free: 31.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.0001213/1.415, allocations: 108.8 kB / 1.366 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/1.415, allocations: 37.78 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004091/1.416, allocations: 263.8 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.416, allocations: 3.844 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.416, allocations: 0 / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.416, allocations: 6.609 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/1.417, allocations: 0.8463 MB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.417, allocations: 2.906 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/1.417, allocations: 65.8 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.417, allocations: 8.094 kB / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.417, allocations: 3.969 kB / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.417, allocations: 0 / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.417, allocations: 7.812 kB / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/1.417, allocations: 0.5367 MB / 1.368 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/1.418, allocations: 106.9 kB / 1.368 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/1.418, allocations: 3.812 kB / 1.368 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/1.418, allocations: 17.84 kB / 1.368 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/1.418, allocations: 32 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/1.418, allocations: 7.781 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001572/1.418, allocations: 179.6 kB / 1.368 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.418, allocations: 4 kB / 1.368 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005115/1.419, allocations: 114.9 kB / 1.368 GB, free: 29.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001926/1.419, allocations: 116.4 kB / 1.368 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004482/1.419, allocations: 322.2 kB / 1.369 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.419, allocations: 0 / 1.369 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/1.419, allocations: 120 kB / 1.369 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/1.42, allocations: 39.05 kB / 1.369 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.421, allocations: 0.5056 MB / 1.369 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/1.421, allocations: 0.8394 MB / 1.37 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001383/1.421, allocations: 35.48 kB / 1.37 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/1.422, allocations: 30.34 kB / 1.37 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.422, allocations: 0 / 1.37 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of Templates: time 0.006857/1.428, allocations: 2.772 MB / 1.373 GB, free: 28.51 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches