Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.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_latest_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_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.457/2.457, allocations: 390.5 MB / 398 MB, free: 10.95 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.001146/0.001146, allocations: 168.9 kB / 491.2 MB, free: 1.547 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.653/1.653, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009747/0.0009746, allocations: 107.8 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.843e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3199, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.415, allocations: 150.8 MB / 1.36 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001652/1.415, allocations: 68.11 kB / 1.36 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01888/1.434, allocations: 7.907 MB / 1.367 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.924e-06/1.434, allocations: 0 / 1.367 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.379e-05/1.434, allocations: 11.38 kB / 1.367 GB, free: 32.73 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.001217/1.435, allocations: 0.7065 MB / 1.368 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.435, allocations: 11.62 kB / 1.368 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/1.435, allocations: 60.91 kB / 1.368 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/1.436, allocations: 250.7 kB / 1.368 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/1.436, allocations: 15.59 kB / 1.368 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/1.436, allocations: 44.47 kB / 1.368 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005559/1.436, allocations: 289.4 kB / 1.369 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/1.437, allocations: 414.7 kB / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/1.437, allocations: 7.828 kB / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/1.437, allocations: 0 / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/1.437, allocations: 11.31 kB / 1.369 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/1.439, allocations: 1.362 MB / 1.37 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/1.439, allocations: 266.1 kB / 1.371 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/1.44, allocations: 154.5 kB / 1.371 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/1.44, allocations: 3.875 kB / 1.371 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/1.44, allocations: 176.1 kB / 1.371 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/1.44, allocations: 0 / 1.371 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.0004691/1.441, allocations: 239.2 kB / 1.371 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/1.441, allocations: 84.77 kB / 1.371 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/1.441, allocations: 223.1 kB / 1.372 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/1.441, allocations: 29.55 kB / 1.372 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/1.441, allocations: 280.3 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-05/1.441, allocations: 108.3 kB / 1.372 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/1.441, allocations: 3.75 kB / 1.372 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.441, allocations: 333.8 kB / 1.372 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/1.442, allocations: 112.4 kB / 1.372 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/1.442, allocations: 148.2 kB / 1.373 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/1.442, allocations: 137.3 kB / 1.373 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.442, allocations: 0 / 1.373 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006311/1.443, allocations: 355.3 kB / 1.373 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/1.443, allocations: 40.39 kB / 1.373 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/1.443, allocations: 3.875 kB / 1.373 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/1.443, allocations: 0 / 1.373 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/1.443, allocations: 77.22 kB / 1.373 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.443, allocations: 6.922 kB / 1.373 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/1.444, allocations: 58.7 kB / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/1.444, allocations: 18.33 kB / 1.373 GB, free: 30.21 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.0001205/1.444, allocations: 119.7 kB / 1.373 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/1.444, allocations: 35.14 kB / 1.373 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/1.444, allocations: 259.6 kB / 1.374 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.444, allocations: 3.906 kB / 1.374 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.444, allocations: 0 / 1.374 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.444, allocations: 6.906 kB / 1.374 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009228/1.445, allocations: 0.8481 MB / 1.374 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.445, allocations: 3.047 kB / 1.374 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/1.446, allocations: 62.88 kB / 1.374 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.446, allocations: 0 / 1.374 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/1.446, allocations: 7.156 kB / 1.374 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/1.446, allocations: 7.969 kB / 1.374 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.446, allocations: 3.875 kB / 1.374 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/1.446, allocations: 0.5272 MB / 1.375 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.891e-05/1.446, allocations: 114.1 kB / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/1.446, allocations: 6.719 kB / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/1.446, allocations: 13.55 kB / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/1.447, allocations: 30.2 kB / 1.375 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/1.447, allocations: 7.625 kB / 1.375 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001732/1.447, allocations: 179.8 kB / 1.375 GB, free: 29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.447, allocations: 0 / 1.375 GB, free: 29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005088/1.447, allocations: 118.9 kB / 1.375 GB, free: 28.96 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.0002019/1.447, allocations: 116.1 kB / 1.376 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005058/1.448, allocations: 325.5 kB / 1.376 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.448, allocations: 0 / 1.376 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/1.448, allocations: 111.1 kB / 1.376 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/1.449, allocations: 44.95 kB / 1.376 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/1.45, allocations: 0.5154 MB / 1.377 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/1.45, allocations: 0.8374 MB / 1.377 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001394/1.45, allocations: 32.48 kB / 1.377 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/1.45, allocations: 26.38 kB / 1.377 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.45, allocations: 0 / 1.377 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of Templates: time 0.007722/1.458, allocations: 2.779 MB / 1.38 GB, free: 27.6 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches