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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.686/1.686, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0008902/0.0008902, allocations: 179.7 kB / 490.8 MB, free: 1.941 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.051/1.051, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.0007674/0.0007675, allocations: 96.64 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.599e-06/4.619e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1625, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.6009, allocations: 150.7 MB / 1.359 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001592/0.6011, allocations: 68 kB / 1.359 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01613/0.6173, allocations: 7.625 MB / 1.366 GB, free: 16.63 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.6173, allocations: 10.56 kB / 1.366 GB, free: 16.63 MB / 0.823 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.000793/0.6181, allocations: 0.7142 MB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.6181, allocations: 9.469 kB / 1.367 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.6182, allocations: 61.06 kB / 1.367 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.6184, allocations: 254.3 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.6184, allocations: 17.53 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.6185, allocations: 41.03 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004589/0.619, allocations: 290.8 kB / 1.368 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.6195, allocations: 411.7 kB / 1.368 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6195, allocations: 3.906 kB / 1.368 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.6196, allocations: 1 kB / 1.368 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.6196, allocations: 13.72 kB / 1.368 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.6213, allocations: 1.366 MB / 1.369 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.6217, allocations: 247.3 kB / 1.37 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.6219, allocations: 156.6 kB / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.6219, allocations: 5.172 kB / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.6221, allocations: 170 kB / 1.37 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=34): time 1.383e-06/0.6221, allocations: 1.375 kB / 1.37 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.0003446/0.6225, allocations: 242 kB / 1.37 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.6225, allocations: 80.64 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.6227, allocations: 227.3 kB / 1.37 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.6227, allocations: 27.89 kB / 1.37 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.6228, allocations: 252.2 kB / 1.371 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.6229, allocations: 106.1 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.6229, allocations: 1.406 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.623, allocations: 343.9 kB / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.6232, allocations: 108.7 kB / 1.371 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.6234, allocations: 153.8 kB / 1.371 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.6237, allocations: 135.1 kB / 1.372 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6237, allocations: 9.391 kB / 1.372 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005521/0.6242, allocations: 347.5 kB / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.6243, allocations: 5.578 kB / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6243, allocations: 1.375 kB / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.6243, allocations: 2.562 kB / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.6246, allocations: 74.73 kB / 1.372 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.6246, allocations: 7.469 kB / 1.372 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.6249, allocations: 67.98 kB / 1.372 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.6249, allocations: 15.31 kB / 1.372 GB, free: 30.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 8.813e-05/0.625, allocations: 117.3 kB / 1.372 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.6251, allocations: 25.98 kB / 1.372 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.6254, allocations: 262.6 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.6254, allocations: 4.156 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6254, allocations: 0 / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.6255, allocations: 7.234 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007521/0.6262, allocations: 0.8369 MB / 1.373 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6262, allocations: 2.562 kB / 1.373 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.6265, allocations: 70.05 kB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.6265, allocations: 3.938 kB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.6265, allocations: 6.812 kB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.6265, allocations: 3.031 kB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6265, allocations: 2.406 kB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003663/0.6269, allocations: 0.5321 MB / 1.374 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.6269, allocations: 114.4 kB / 1.374 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.627, allocations: 3.875 kB / 1.374 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.6272, allocations: 14.56 kB / 1.374 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.6272, allocations: 20.67 kB / 1.374 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.6273, allocations: 10.8 kB / 1.374 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001378/0.6274, allocations: 177.9 kB / 1.374 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003877/0.6278, allocations: 109.2 kB / 1.374 GB, free: 28.91 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.0001116/0.6279, allocations: 126.5 kB / 1.374 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000373/0.6283, allocations: 284.8 kB / 1.375 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6283, allocations: 0 / 1.375 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.6285, allocations: 120.6 kB / 1.375 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.6288, allocations: 51.75 kB / 1.375 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/0.6297, allocations: 0.518 MB / 1.375 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/0.6301, allocations: 0.869 MB / 1.376 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.6301, allocations: 0 / 1.376 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of Templates: time 0.00676/0.6369, allocations: 3.341 MB / 1.379 GB, free: 27.55 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