Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|subSta.Q_flow|subSta.m_flow|subSta.sta_a.T|subSta.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|subSta.Q_flow|subSta.m_flow|subSta.sta_a.T|subSta.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") [: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.939/1.939, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001076/0.001076, allocations: 176.8 kB / 487 MB, free: 5.375 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.352/1.352, allocations: 221.3 MB / 0.7819 GB, free: 1.348 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.0009293/0.0009293, allocations: 86.2 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.7e-06/5.731e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2878, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.333, allocations: 440.6 MB / 1.636 GB, free: 15.05 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/1.333, allocations: 95.12 kB / 1.636 GB, free: 15 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.419/3.753, allocations: 0.7047 GB / 2.34 GB, free: 241.9 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001645/3.753, allocations: 38.98 kB / 2.34 GB, free: 241.9 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002961/3.756, allocations: 1.726 MB / 2.342 GB, free: 240.6 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/3.756, allocations: 9.281 kB / 2.342 GB, free: 240.6 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/3.758, allocations: 472.8 kB / 2.343 GB, free: 240.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02196/3.78, allocations: 8.786 MB / 2.351 GB, free: 235.1 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-05/3.78, allocations: 28 kB / 2.351 GB, free: 235 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/3.78, allocations: 52 kB / 2.351 GB, free: 235 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00133/3.782, allocations: 0.6365 MB / 2.352 GB, free: 234.4 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/3.783, allocations: 0.8593 MB / 2.353 GB, free: 233.5 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/3.783, allocations: 0 / 2.353 GB, free: 233.5 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/3.783, allocations: 4 kB / 2.353 GB, free: 233.4 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/3.783, allocations: 33.44 kB / 2.353 GB, free: 233.4 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006128/3.789, allocations: 4.823 MB / 2.357 GB, free: 228.5 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/3.79, allocations: 453 kB / 2.358 GB, free: 228 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/3.79, allocations: 249.7 kB / 2.358 GB, free: 227.8 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002031/3.792, allocations: 1.676 MB / 2.36 GB, free: 225.9 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/3.793, allocations: 372.3 kB / 2.36 GB, free: 225.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=47): time 2.314e-06/3.793, allocations: 0 / 2.36 GB, free: 225.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=47): time 0.001625/3.794, allocations: 0.6942 MB / 2.361 GB, free: 224.8 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/3.794, allocations: 114.8 kB / 2.361 GB, free: 224.7 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/3.795, allocations: 0.9727 MB / 2.362 GB, free: 223.7 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/3.796, allocations: 37.64 kB / 2.362 GB, free: 223.7 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/3.796, allocations: 436.4 kB / 2.362 GB, free: 223.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/3.796, allocations: 149.7 kB / 2.362 GB, free: 223.1 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/3.796, allocations: 0 / 2.362 GB, free: 223.1 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/3.796, allocations: 330 kB / 2.363 GB, free: 222.8 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/3.796, allocations: 220.5 kB / 2.363 GB, free: 222.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/3.797, allocations: 490 kB / 2.363 GB, free: 221.9 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008984/3.798, allocations: 357.6 kB / 2.364 GB, free: 221.6 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/3.798, allocations: 4 kB / 2.364 GB, free: 221.6 MB / 1.135 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001649/3.799, allocations: 0.8811 MB / 2.365 GB, free: 220.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004282/3.8, allocations: 2.735 MB / 2.367 GB, free: 217.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/3.8, allocations: 8 kB / 2.367 GB, free: 217.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002587/3.8, allocations: 73.69 kB / 2.367 GB, free: 217.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/3.801, allocations: 181.9 kB / 2.368 GB, free: 217.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005602/3.801, allocations: 1.136 MB / 2.369 GB, free: 216.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009835/3.802, allocations: 124.5 kB / 2.369 GB, free: 216.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/3.802, allocations: 47.97 kB / 2.369 GB, free: 216.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 5.22e-06/3.802, allocations: 4 kB / 2.369 GB, free: 216.2 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/3.804, allocations: 0.6778 MB / 2.369 GB, free: 215.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/3.804, allocations: 4 kB / 2.369 GB, free: 215.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/3.804, allocations: 84.64 kB / 2.37 GB, free: 215.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/3.805, allocations: 166.4 kB / 2.37 GB, free: 215.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005491/3.805, allocations: 1.147 MB / 2.371 GB, free: 214.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/3.806, allocations: 110 kB / 2.371 GB, free: 214 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/3.806, allocations: 43.98 kB / 2.371 GB, free: 214 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000184/3.806, allocations: 169.7 kB / 2.371 GB, free: 213.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/3.806, allocations: 126.4 kB / 2.371 GB, free: 213.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/3.808, allocations: 0.8882 MB / 2.372 GB, free: 212.8 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/3.808, allocations: 8 kB / 2.372 GB, free: 212.8 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/3.808, allocations: 11.59 kB / 2.372 GB, free: 212.8 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/3.808, allocations: 3.562 kB / 2.372 GB, free: 212.8 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/3.811, allocations: 1.863 MB / 2.374 GB, free: 210.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/3.811, allocations: 11.33 kB / 2.374 GB, free: 210.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/3.811, allocations: 111 kB / 2.374 GB, free: 210.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001731/3.812, allocations: 68.89 kB / 2.374 GB, free: 210.7 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/3.812, allocations: 19.97 kB / 2.374 GB, free: 210.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005635/3.812, allocations: 1.147 MB / 2.375 GB, free: 209.5 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/3.812, allocations: 7.281 kB / 2.375 GB, free: 209.5 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001304/3.814, allocations: 1 MB / 2.376 GB, free: 208.4 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/3.814, allocations: 295.8 kB / 2.377 GB, free: 208.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/3.814, allocations: 19.23 kB / 2.377 GB, free: 208.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008637/3.815, allocations: 86.55 kB / 2.377 GB, free: 208 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/3.815, allocations: 31.94 kB / 2.377 GB, free: 207.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/3.815, allocations: 31.97 kB / 2.377 GB, free: 207.9 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0008148/3.816, allocations: 0.748 MB / 2.377 GB, free: 207.2 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002353/3.818, allocations: 0.756 MB / 2.378 GB, free: 206.4 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001446/3.82, allocations: 0.9859 MB / 2.379 GB, free: 205.6 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001507/3.821, allocations: 1.017 MB / 2.38 GB, free: 204.6 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/3.821, allocations: 0 / 2.38 GB, free: 204.6 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0004818/3.822, allocations: 349.9 kB / 2.38 GB, free: 204.2 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/3.824, allocations: 0.5145 MB / 2.381 GB, free: 203.8 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/3.827, allocations: 1.693 MB / 2.383 GB, free: 202 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008205/3.828, allocations: 1.342 MB / 2.384 GB, free: 200.7 MB / 1.135 GB Notification: Performance of SimCode: time 5.51e-07/3.828, allocations: 0 / 2.384 GB, free: 200.7 MB / 1.135 GB Notification: Performance of Templates: time 0.04247/3.87, allocations: 30.6 MB / 2.414 GB, free: 171.4 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches