Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") [: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 7.0.3-maint.7.0.x/package.mo): time 1.197/1.197, allocations: 249.4 MB / 256.7 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 173.3 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.097/1.097, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009362/0.0009363, allocations: 87.39 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.571e-06/5.591e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1711, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.178, allocations: 424.5 MB / 1.299 GB, free: 323.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.178, allocations: 74.2 kB / 1.299 GB, free: 323.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.02422/1.202, allocations: 13.06 MB / 1.312 GB, free: 310.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.202, allocations: 7.938 kB / 1.312 GB, free: 310.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005598/1.203, allocations: 0.5252 MB / 1.312 GB, free: 310.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/1.203, allocations: 11.97 kB / 1.312 GB, free: 310.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.914e-05/1.203, allocations: 15.81 kB / 1.312 GB, free: 310.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/1.203, allocations: 239.5 kB / 1.313 GB, free: 309.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/1.203, allocations: 19.98 kB / 1.313 GB, free: 309.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/1.203, allocations: 11.94 kB / 1.313 GB, free: 309.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006496/1.204, allocations: 0.6243 MB / 1.313 GB, free: 309.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/1.204, allocations: 217 kB / 1.314 GB, free: 309 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.204, allocations: 0 / 1.314 GB, free: 309 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/1.204, allocations: 0 / 1.314 GB, free: 309 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.204, allocations: 4 kB / 1.314 GB, free: 309 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/1.204, allocations: 269.8 kB / 1.314 GB, free: 308.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/1.205, allocations: 418.7 kB / 1.314 GB, free: 308.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/1.205, allocations: 168.8 kB / 1.314 GB, free: 308.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/1.205, allocations: 388.4 kB / 1.315 GB, free: 307.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/1.205, allocations: 43.42 kB / 1.315 GB, free: 307.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 1.393e-06/1.205, allocations: 0 / 1.315 GB, free: 307.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.002671/1.208, allocations: 0.6916 MB / 1.315 GB, free: 306.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/1.208, allocations: 55.41 kB / 1.315 GB, free: 306.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/1.208, allocations: 114.7 kB / 1.316 GB, free: 306.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/1.208, allocations: 25.7 kB / 1.316 GB, free: 306.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/1.208, allocations: 100.7 kB / 1.316 GB, free: 306.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/1.208, allocations: 114.1 kB / 1.316 GB, free: 306.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/1.208, allocations: 4 kB / 1.316 GB, free: 306.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/1.208, allocations: 326.8 kB / 1.316 GB, free: 306.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/1.208, allocations: 131.9 kB / 1.316 GB, free: 306 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/1.209, allocations: 135.9 kB / 1.316 GB, free: 305.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/1.211, allocations: 499.7 kB / 1.317 GB, free: 305.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.211, allocations: 0 / 1.317 GB, free: 305.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002548/1.213, allocations: 0.6957 MB / 1.318 GB, free: 304.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.213, allocations: 8 kB / 1.318 GB, free: 304.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.213, allocations: 0 / 1.318 GB, free: 304.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.213, allocations: 0 / 1.318 GB, free: 304.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/1.214, allocations: 119.8 kB / 1.318 GB, free: 304.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/1.214, allocations: 7.984 kB / 1.318 GB, free: 304.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/1.214, allocations: 67.7 kB / 1.318 GB, free: 304.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/1.214, allocations: 12 kB / 1.318 GB, free: 304.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 6.685e-05/1.214, allocations: 104.9 kB / 1.318 GB, free: 304.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/1.214, allocations: 23.8 kB / 1.318 GB, free: 304.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/1.217, allocations: 0.7599 MB / 1.319 GB, free: 303.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.217, allocations: 4 kB / 1.319 GB, free: 303.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/1.217, allocations: 3.938 kB / 1.319 GB, free: 303.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.217, allocations: 7.984 kB / 1.319 GB, free: 303.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/1.217, allocations: 285.8 kB / 1.319 GB, free: 303.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.217, allocations: 0 / 1.319 GB, free: 303.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/1.218, allocations: 115.9 kB / 1.319 GB, free: 303.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/1.218, allocations: 0 / 1.319 GB, free: 303.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/1.218, allocations: 7.984 kB / 1.319 GB, free: 303.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.218, allocations: 4 kB / 1.319 GB, free: 303.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.218, allocations: 0 / 1.319 GB, free: 303.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002592/1.22, allocations: 0.7417 MB / 1.32 GB, free: 302.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/1.22, allocations: 96.84 kB / 1.32 GB, free: 302.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/1.22, allocations: 0 / 1.32 GB, free: 302.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/1.22, allocations: 51.97 kB / 1.32 GB, free: 302.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/1.221, allocations: 87.84 kB / 1.32 GB, free: 302.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/1.221, allocations: 12 kB / 1.32 GB, free: 302.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.968e-05/1.221, allocations: 99.27 kB / 1.32 GB, free: 302 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003464/1.221, allocations: 111.9 kB / 1.32 GB, free: 301.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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 Backend phase and start with SimCode phase: time 0.0004304/1.221, allocations: 243 kB / 1.32 GB, free: 301.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003978/1.222, allocations: 348.1 kB / 1.321 GB, free: 301.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.222, allocations: 0 / 1.321 GB, free: 301.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/1.222, allocations: 208.4 kB / 1.321 GB, free: 301.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/1.222, allocations: 55.86 kB / 1.321 GB, free: 301 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/1.223, allocations: 305.2 kB / 1.321 GB, free: 300.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/1.223, allocations: 0.7791 MB / 1.322 GB, free: 299.9 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/1.223, allocations: 0 / 1.322 GB, free: 299.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.007796/1.231, allocations: 6.094 MB / 1.328 GB, free: 293.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches