Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.99/1.99, allocations: 387.2 MB / 394.5 MB, free: 4.613 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 192.2 kB / 487 MB, free: 11.1 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.3 MB / 0.7819 GB, free: 4.016 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 98.5 kB / 0.9213 GB, free: 5.105 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 5.73e-06/5.74e-06, allocations: 0 / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2485, allocations: 142.3 MB / 1.205 GB, free: 14.82 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8977/1.146, allocations: 441.1 MB / 1.636 GB, free: 14.7 MB / 1.112 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/1.147, allocations: 79.94 kB / 1.636 GB, free: 14.62 MB / 1.112 GB Notification: Performance of FrontEnd: time 0.03139/1.178, allocations: 13.34 MB / 1.649 GB, free: 1.207 MB / 1.112 GB Notification: Performance of Transformations before backend: time 1.176e-05/1.178, allocations: 4 kB / 1.649 GB, free: 1.203 MB / 1.112 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.0008825/1.179, allocations: 0.5214 MB / 1.65 GB, free: 0.6367 MB / 1.112 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.179, allocations: 8.031 kB / 1.65 GB, free: 0.6289 MB / 1.112 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/1.179, allocations: 19.81 kB / 1.65 GB, free: 0.6094 MB / 1.112 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/1.179, allocations: 238.7 kB / 1.65 GB, free: 344 kB / 1.112 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/1.18, allocations: 19.98 kB / 1.65 GB, free: 324 kB / 1.112 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/1.18, allocations: 8 kB / 1.65 GB, free: 316 kB / 1.112 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008672/1.18, allocations: 0.6165 MB / 1.65 GB, free: 15.69 MB / 1.128 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/1.181, allocations: 221.2 kB / 1.651 GB, free: 15.47 MB / 1.128 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.181, allocations: 0 / 1.651 GB, free: 15.47 MB / 1.128 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/1.181, allocations: 3.906 kB / 1.651 GB, free: 15.46 MB / 1.128 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/1.181, allocations: 4 kB / 1.651 GB, free: 15.46 MB / 1.128 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/1.181, allocations: 269.9 kB / 1.651 GB, free: 15.16 MB / 1.128 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/1.182, allocations: 410.7 kB / 1.651 GB, free: 14.75 MB / 1.128 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/1.182, allocations: 164.8 kB / 1.652 GB, free: 14.58 MB / 1.128 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/1.182, allocations: 396.3 kB / 1.652 GB, free: 14.12 MB / 1.128 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/1.182, allocations: 38.41 kB / 1.652 GB, free: 14.07 MB / 1.128 GB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/1.182, allocations: 0 / 1.652 GB, free: 14.07 MB / 1.128 GB Notification: Performance of matching and sorting (n=37): time 0.003046/1.186, allocations: 0.6964 MB / 1.653 GB, free: 13.37 MB / 1.128 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/1.186, allocations: 59.16 kB / 1.653 GB, free: 13.3 MB / 1.128 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/1.186, allocations: 115.6 kB / 1.653 GB, free: 13.18 MB / 1.128 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/1.186, allocations: 25.7 kB / 1.653 GB, free: 13.15 MB / 1.128 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/1.186, allocations: 92.73 kB / 1.653 GB, free: 13.06 MB / 1.128 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/1.186, allocations: 122.2 kB / 1.653 GB, free: 12.94 MB / 1.128 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/1.186, allocations: 0 / 1.653 GB, free: 12.94 MB / 1.128 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.186, allocations: 322.8 kB / 1.653 GB, free: 12.61 MB / 1.128 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/1.186, allocations: 139.9 kB / 1.653 GB, free: 12.48 MB / 1.128 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/1.186, allocations: 127.9 kB / 1.654 GB, free: 12.35 MB / 1.128 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/1.189, allocations: 497.5 kB / 1.654 GB, free: 11.87 MB / 1.128 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.189, allocations: 0 / 1.654 GB, free: 11.87 MB / 1.128 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00281/1.192, allocations: 0.7068 MB / 1.655 GB, free: 11.15 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.192, allocations: 7.594 kB / 1.655 GB, free: 11.15 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.192, allocations: 7.938 kB / 1.655 GB, free: 11.14 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.192, allocations: 4 kB / 1.655 GB, free: 11.14 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/1.192, allocations: 119.8 kB / 1.655 GB, free: 11.02 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.192, allocations: 0 / 1.655 GB, free: 11.02 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/1.192, allocations: 59.81 kB / 1.655 GB, free: 10.96 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/1.193, allocations: 11.98 kB / 1.655 GB, free: 10.95 MB / 1.128 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 9.702e-05/1.193, allocations: 112.8 kB / 1.655 GB, free: 10.83 MB / 1.128 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/1.193, allocations: 19.81 kB / 1.655 GB, free: 10.81 MB / 1.128 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/1.196, allocations: 0.7519 MB / 1.656 GB, free: 10.05 MB / 1.128 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/1.196, allocations: 4 kB / 1.656 GB, free: 10.05 MB / 1.128 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.196, allocations: 3.984 kB / 1.656 GB, free: 10.05 MB / 1.128 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/1.196, allocations: 7.906 kB / 1.656 GB, free: 10.04 MB / 1.128 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/1.196, allocations: 285.8 kB / 1.656 GB, free: 9.723 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.196, allocations: 0 / 1.656 GB, free: 9.723 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/1.197, allocations: 111.9 kB / 1.656 GB, free: 9.613 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/1.197, allocations: 4 kB / 1.656 GB, free: 9.609 MB / 1.128 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/1.197, allocations: 15.89 kB / 1.656 GB, free: 9.594 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.197, allocations: 0 / 1.656 GB, free: 9.594 MB / 1.128 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.197, allocations: 0 / 1.656 GB, free: 9.594 MB / 1.128 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002843/1.199, allocations: 0.7421 MB / 1.657 GB, free: 8.832 MB / 1.128 GB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/1.2, allocations: 92.86 kB / 1.657 GB, free: 8.723 MB / 1.128 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/1.2, allocations: 7.984 kB / 1.657 GB, free: 8.715 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/1.2, allocations: 43.97 kB / 1.657 GB, free: 8.672 MB / 1.128 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.2, allocations: 87.77 kB / 1.657 GB, free: 8.586 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/1.2, allocations: 15.98 kB / 1.657 GB, free: 8.57 MB / 1.128 GB Notification: Performance of sort global known variables: time 5.927e-05/1.2, allocations: 100.6 kB / 1.657 GB, free: 8.473 MB / 1.128 GB Notification: Performance of remove unused functions: time 0.0004031/1.201, allocations: 111.9 kB / 1.657 GB, free: 8.363 MB / 1.128 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.0005374/1.201, allocations: 237.3 kB / 1.658 GB, free: 8.125 MB / 1.128 GB Notification: Performance of simCode: created initialization part: time 0.0005092/1.202, allocations: 347.5 kB / 1.658 GB, free: 7.785 MB / 1.128 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.202, allocations: 0 / 1.658 GB, free: 7.785 MB / 1.128 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/1.202, allocations: 199.8 kB / 1.658 GB, free: 7.59 MB / 1.128 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/1.202, allocations: 63.88 kB / 1.658 GB, free: 7.527 MB / 1.128 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/1.203, allocations: 314 kB / 1.658 GB, free: 7.203 MB / 1.128 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/1.203, allocations: 0.7791 MB / 1.659 GB, free: 6.395 MB / 1.128 GB Notification: Performance of SimCode: time 2.2e-07/1.203, allocations: 0 / 1.659 GB, free: 6.395 MB / 1.128 GB Notification: Performance of Templates: time 0.01006/1.213, allocations: 6.088 MB / 1.665 GB, free: 404 kB / 1.128 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches