Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,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.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,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.HeatingSubstation") [: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.922/1.922, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001183/0.001183, allocations: 188.2 kB / 487 MB, free: 5.383 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.372/1.372, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.001106/0.001106, allocations: 96.44 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.052e-06/6.082e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2854, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.315, allocations: 440.6 MB / 1.636 GB, free: 15.31 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/1.316, allocations: 95.16 kB / 1.636 GB, free: 15.26 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.584/3.899, allocations: 0.7047 GB / 2.34 GB, free: 232.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002676/3.9, allocations: 41.34 kB / 2.34 GB, free: 232.4 MB / 1.167 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.004619/3.904, allocations: 1.729 MB / 2.342 GB, free: 231.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/3.904, allocations: 9.594 kB / 2.342 GB, free: 231.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/3.907, allocations: 470.2 kB / 2.343 GB, free: 230.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02098/3.928, allocations: 8.778 MB / 2.351 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-05/3.928, allocations: 26.97 kB / 2.351 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/3.929, allocations: 51.44 kB / 2.351 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001568/3.93, allocations: 0.642 MB / 2.352 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/3.932, allocations: 0.8661 MB / 2.353 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/3.932, allocations: 5.375 kB / 2.353 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.641e-05/3.932, allocations: 2.25 kB / 2.353 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/3.932, allocations: 32.23 kB / 2.353 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007295/3.939, allocations: 4.817 MB / 2.357 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/3.94, allocations: 447 kB / 2.358 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/3.94, allocations: 249.4 kB / 2.358 GB, free: 220.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002381/3.943, allocations: 1.684 MB / 2.36 GB, free: 218.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000465/3.943, allocations: 368.4 kB / 2.36 GB, free: 218.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 2.424e-06/3.943, allocations: 2.297 kB / 2.36 GB, free: 218.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=47): time 0.001883/3.945, allocations: 0.6908 MB / 2.361 GB, free: 218.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/3.945, allocations: 116.4 kB / 2.361 GB, free: 218.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/3.947, allocations: 0.9753 MB / 2.362 GB, free: 217.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/3.947, allocations: 31.92 kB / 2.362 GB, free: 217.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/3.947, allocations: 434.8 kB / 2.362 GB, free: 217.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/3.947, allocations: 150.2 kB / 2.362 GB, free: 217 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/3.947, allocations: 0 / 2.362 GB, free: 217 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/3.947, allocations: 332.6 kB / 2.363 GB, free: 216.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/3.948, allocations: 210.8 kB / 2.363 GB, free: 216.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/3.948, allocations: 0.4897 MB / 2.363 GB, free: 216.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/3.949, allocations: 358.8 kB / 2.364 GB, free: 216 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/3.949, allocations: 1.938 kB / 2.364 GB, free: 216 MB / 1.167 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001887/3.951, allocations: 0.8814 MB / 2.365 GB, free: 215.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004302/3.951, allocations: 2.741 MB / 2.367 GB, free: 212.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/3.951, allocations: 7.25 kB / 2.367 GB, free: 212.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/3.952, allocations: 75.88 kB / 2.367 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/3.952, allocations: 176.6 kB / 2.367 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005725/3.953, allocations: 1.147 MB / 2.369 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/3.954, allocations: 120.7 kB / 2.369 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/3.954, allocations: 43.64 kB / 2.369 GB, free: 211.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/3.954, allocations: 4.281 kB / 2.369 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001691/3.956, allocations: 0.6834 MB / 2.369 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/3.956, allocations: 6.5 kB / 2.369 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/3.956, allocations: 77.03 kB / 2.37 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006784/3.957, allocations: 166 kB / 2.37 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006078/3.957, allocations: 1.151 MB / 2.371 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/3.958, allocations: 112.5 kB / 2.371 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-05/3.958, allocations: 39.2 kB / 2.371 GB, free: 209.8 MB / 1.167 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.0002302/3.959, allocations: 168.8 kB / 2.371 GB, free: 209.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/3.959, allocations: 131.1 kB / 2.371 GB, free: 209.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/3.961, allocations: 0.8903 MB / 2.372 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/3.961, allocations: 9.562 kB / 2.372 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/3.961, allocations: 4.812 kB / 2.372 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/3.961, allocations: 7.891 kB / 2.372 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/3.965, allocations: 1.858 MB / 2.374 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/3.965, allocations: 5.781 kB / 2.374 GB, free: 207.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/3.965, allocations: 120 kB / 2.374 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/3.965, allocations: 72.42 kB / 2.374 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/3.965, allocations: 15.98 kB / 2.374 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006225/3.966, allocations: 1.141 MB / 2.375 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/3.966, allocations: 5.5 kB / 2.375 GB, free: 206.7 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001595/3.968, allocations: 0.9995 MB / 2.376 GB, free: 206 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/3.968, allocations: 297 kB / 2.377 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/3.968, allocations: 8.094 kB / 2.377 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009694/3.969, allocations: 90.56 kB / 2.377 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/3.97, allocations: 31.02 kB / 2.377 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/3.97, allocations: 31.94 kB / 2.377 GB, free: 205.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001111/3.971, allocations: 0.7451 MB / 2.377 GB, free: 205.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002758/3.974, allocations: 0.7544 MB / 2.378 GB, free: 205.1 MB / 1.167 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.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.001942/3.976, allocations: 0.9965 MB / 2.379 GB, free: 204.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001934/3.977, allocations: 1.019 MB / 2.38 GB, free: 204.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/3.977, allocations: 0 / 2.38 GB, free: 204.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005916/3.978, allocations: 350.9 kB / 2.38 GB, free: 204.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/3.98, allocations: 0.5049 MB / 2.381 GB, free: 203.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/3.984, allocations: 1.693 MB / 2.383 GB, free: 203 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/3.985, allocations: 1.343 MB / 2.384 GB, free: 202 MB / 1.167 GB Notification: Performance of SimCode: time 7.81e-07/3.985, allocations: 0 / 2.384 GB, free: 202 MB / 1.167 GB Notification: Performance of Templates: time 0.0489/4.034, allocations: 30.6 MB / 2.414 GB, free: 179.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_HeatingSubstation.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches