Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.m_flow|pla.m_flow_nominal|pla.sta_a.T|pla.sta_b.T|Q_flow_nominal|pla.QHea_flow|pla.QCoo_flow|pla.dp|pla.dp_nominal",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.m_flow|pla.m_flow_nominal|pla.sta_a.T|pla.sta_b.T|Q_flow_nominal|pla.QHea_flow|pla.QCoo_flow|pla.dp|pla.dp_nominal",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") [: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 9.1.1-maint.9.1.x/package.mo): time 1.936/1.936, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001112/0.001112, allocations: 185.2 kB / 487 MB, free: 5.406 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.356/1.356, allocations: 221.3 MB / 0.7819 GB, free: 1.461 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.001057/0.001057, allocations: 95.47 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.512e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2974, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9792/1.277, allocations: 400.7 MB / 1.596 GB, free: 6.41 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/1.277, allocations: 85.77 kB / 1.597 GB, free: 6.367 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.216/3.493, allocations: 0.5774 GB / 2.174 GB, free: 278.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.81e-05/3.493, allocations: 30.62 kB / 2.174 GB, free: 278.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002239/3.495, allocations: 1.179 MB / 2.175 GB, free: 277.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/3.495, allocations: 10.66 kB / 2.175 GB, free: 277.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/3.498, allocations: 0.5375 MB / 2.176 GB, free: 277.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/3.513, allocations: 7.267 MB / 2.183 GB, free: 277.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/3.513, allocations: 16.66 kB / 2.183 GB, free: 277.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.595e-05/3.513, allocations: 41.84 kB / 2.183 GB, free: 277.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009722/3.514, allocations: 479.1 kB / 2.183 GB, free: 277.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009335/3.515, allocations: 0.6162 MB / 2.184 GB, free: 277.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/3.515, allocations: 3.656 kB / 2.184 GB, free: 277.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/3.515, allocations: 0 / 2.184 GB, free: 277.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/3.515, allocations: 29.92 kB / 2.184 GB, free: 277.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005569/3.521, allocations: 4.572 MB / 2.188 GB, free: 274.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/3.521, allocations: 383.4 kB / 2.189 GB, free: 274.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/3.522, allocations: 221 kB / 2.189 GB, free: 274.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006724/3.522, allocations: 0.9381 MB / 2.19 GB, free: 273.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/3.522, allocations: 40.28 kB / 2.19 GB, free: 273.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 3.336e-06/3.522, allocations: 0 / 2.19 GB, free: 273.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.001031/3.523, allocations: 0.4929 MB / 2.19 GB, free: 273.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/3.523, allocations: 54.56 kB / 2.19 GB, free: 273 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/3.524, allocations: 0.5327 MB / 2.191 GB, free: 272.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/3.524, allocations: 25.7 kB / 2.191 GB, free: 272.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/3.524, allocations: 315.1 kB / 2.191 GB, free: 272.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/3.524, allocations: 127.1 kB / 2.191 GB, free: 272.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/3.524, allocations: 0 / 2.191 GB, free: 272.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.179e-05/3.524, allocations: 323.6 kB / 2.192 GB, free: 272.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/3.525, allocations: 179.6 kB / 2.192 GB, free: 272.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/3.525, allocations: 365.6 kB / 2.192 GB, free: 272.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/3.526, allocations: 241 kB / 2.193 GB, free: 272.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/3.526, allocations: 3.328 kB / 2.193 GB, free: 272.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001046/3.527, allocations: 0.5847 MB / 2.193 GB, free: 272.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003041/3.527, allocations: 1.661 MB / 2.195 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/3.527, allocations: 7.219 kB / 2.195 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/3.527, allocations: 7.688 kB / 2.195 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/3.528, allocations: 198.6 kB / 2.195 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/3.528, allocations: 14.22 kB / 2.195 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009967/3.529, allocations: 163.5 kB / 2.195 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/3.529, allocations: 26.61 kB / 2.195 GB, free: 270.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/3.529, allocations: 3.938 kB / 2.195 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009469/3.53, allocations: 0.4893 MB / 2.196 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/3.53, allocations: 8.031 kB / 2.196 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/3.53, allocations: 6.625 kB / 2.196 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000839/3.531, allocations: 200.7 kB / 2.196 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/3.531, allocations: 8.719 kB / 2.196 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/3.532, allocations: 158.4 kB / 2.196 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/3.532, allocations: 28.38 kB / 2.196 GB, free: 270.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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.0001163/3.532, allocations: 114.6 kB / 2.196 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/3.532, allocations: 74.03 kB / 2.196 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/3.533, allocations: 0.7185 MB / 2.197 GB, free: 270.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/3.533, allocations: 11.06 kB / 2.197 GB, free: 270.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/3.533, allocations: 0 / 2.197 GB, free: 270.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/3.533, allocations: 10.34 kB / 2.197 GB, free: 270.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/3.536, allocations: 1.468 MB / 2.198 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/3.536, allocations: 0 / 2.198 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007817/3.537, allocations: 163 kB / 2.198 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/3.537, allocations: 7.688 kB / 2.198 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/3.537, allocations: 9.984 kB / 2.198 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/3.537, allocations: 5.375 kB / 2.198 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/3.537, allocations: 3.469 kB / 2.198 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001418/3.538, allocations: 1.029 MB / 2.2 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/3.538, allocations: 226.1 kB / 2.2 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/3.538, allocations: 3.938 kB / 2.2 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008381/3.539, allocations: 132.8 kB / 2.2 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/3.539, allocations: 28.88 kB / 2.2 GB, free: 269.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/3.539, allocations: 19.81 kB / 2.2 GB, free: 269.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004095/3.54, allocations: 423.3 kB / 2.2 GB, free: 269.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001217/3.541, allocations: 445.2 kB / 2.201 GB, free: 269.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.00078/3.542, allocations: 0.5078 MB / 2.201 GB, free: 269.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001068/3.543, allocations: 0.786 MB / 2.202 GB, free: 269.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/3.543, allocations: 6.297 kB / 2.202 GB, free: 269.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/3.543, allocations: 269 kB / 2.202 GB, free: 269.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/3.545, allocations: 284.8 kB / 2.203 GB, free: 269.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/3.55, allocations: 1.714 MB / 2.204 GB, free: 268.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006138/3.551, allocations: 1.074 MB / 2.205 GB, free: 268.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.21e-07/3.551, allocations: 2.812 kB / 2.205 GB, free: 268.1 MB / 1.151 GB Notification: Performance of Templates: time 0.02823/3.579, allocations: 19.41 MB / 2.224 GB, free: 267.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches