Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [: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.217/1.217, allocations: 249.4 MB / 256.7 MB, free: 7.059 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.0009565/0.0009563, allocations: 184.5 kB / 316 MB, free: 3.57 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.063/1.063, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0008032/0.0008033, allocations: 90.42 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.689e-06/4.699e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 106.3 MB / 0.8845 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8618/1.007, allocations: 401 MB / 1.276 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/1.007, allocations: 67.08 kB / 1.276 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.03463/1.041, allocations: 18.38 MB / 1.294 GB, free: 296.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.192e-06/1.041, allocations: 0 / 1.294 GB, free: 296.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002648/1.042, allocations: 366.3 kB / 1.295 GB, free: 296.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/1.042, allocations: 12.02 kB / 1.295 GB, free: 296.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/1.042, allocations: 4 kB / 1.295 GB, free: 296.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.105e-05/1.042, allocations: 170.9 kB / 1.295 GB, free: 296 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/1.042, allocations: 0 / 1.295 GB, free: 296 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/1.042, allocations: 4 kB / 1.295 GB, free: 296 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.633e-05/1.042, allocations: 15.98 kB / 1.295 GB, free: 296 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/1.042, allocations: 41.69 kB / 1.295 GB, free: 296 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.042, allocations: 0 / 1.295 GB, free: 296 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/1.042, allocations: 0 / 1.295 GB, free: 296 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/1.042, allocations: 8 kB / 1.295 GB, free: 296 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/1.042, allocations: 142.1 kB / 1.295 GB, free: 295.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/1.042, allocations: 41.66 kB / 1.295 GB, free: 295.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/1.042, allocations: 12.86 kB / 1.295 GB, free: 295.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004827/1.043, allocations: 0.6113 MB / 1.296 GB, free: 295 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/1.043, allocations: 46.5 kB / 1.296 GB, free: 294.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/1.043, allocations: 0 / 1.296 GB, free: 294.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004223/1.043, allocations: 274.1 kB / 1.296 GB, free: 294.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.618e-05/1.043, allocations: 51.41 kB / 1.296 GB, free: 294.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.377e-05/1.043, allocations: 93 kB / 1.296 GB, free: 294.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/1.043, allocations: 25.7 kB / 1.296 GB, free: 294.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/1.043, allocations: 96.03 kB / 1.296 GB, free: 294.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/1.043, allocations: 19.66 kB / 1.296 GB, free: 294.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/1.043, allocations: 4 kB / 1.296 GB, free: 294.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.217e-05/1.043, allocations: 318.7 kB / 1.296 GB, free: 294 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/1.043, allocations: 12 kB / 1.296 GB, free: 294 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/1.044, allocations: 45.16 kB / 1.297 GB, free: 293.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.785e-05/1.044, allocations: 19.92 kB / 1.297 GB, free: 293.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/1.044, allocations: 4 kB / 1.297 GB, free: 293.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.275e-05/1.044, allocations: 77.61 kB / 1.297 GB, free: 293.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/1.044, allocations: 4 kB / 1.297 GB, free: 293.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/1.044, allocations: 3.938 kB / 1.297 GB, free: 293.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.044, allocations: 4 kB / 1.297 GB, free: 293.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/1.044, allocations: 24.31 kB / 1.297 GB, free: 293.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.044, allocations: 7.906 kB / 1.297 GB, free: 293.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/1.044, allocations: 4 kB / 1.297 GB, free: 293.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/1.044, allocations: 11.98 kB / 1.297 GB, free: 293.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 4.252e-05/1.044, allocations: 104.9 kB / 1.297 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/1.044, allocations: 7.906 kB / 1.297 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/1.044, allocations: 8.344 kB / 1.297 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/1.044, allocations: 4 kB / 1.297 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/1.044, allocations: 4 kB / 1.297 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.044, allocations: 3.984 kB / 1.297 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/1.044, allocations: 146.3 kB / 1.297 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.044, allocations: 0 / 1.297 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/1.044, allocations: 16 kB / 1.297 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.044, allocations: 3.938 kB / 1.297 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/1.044, allocations: 3.984 kB / 1.297 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.044, allocations: 0 / 1.297 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.044, allocations: 3.906 kB / 1.297 GB, free: 293.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001062/1.044, allocations: 167.4 kB / 1.297 GB, free: 293.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/1.044, allocations: 89.03 kB / 1.297 GB, free: 293.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/1.044, allocations: 0 / 1.297 GB, free: 293.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/1.045, allocations: 4 kB / 1.297 GB, free: 293.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/1.045, allocations: 0 / 1.297 GB, free: 293.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/1.045, allocations: 8 kB / 1.297 GB, free: 293.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.509e-05/1.045, allocations: 83.17 kB / 1.297 GB, free: 293 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000221/1.045, allocations: 12 kB / 1.297 GB, free: 293 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000158/1.045, allocations: 147.4 kB / 1.297 GB, free: 292.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.071e-05/1.045, allocations: 39.91 kB / 1.297 GB, free: 292.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/1.045, allocations: 0 / 1.297 GB, free: 292.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/1.045, allocations: 16 kB / 1.297 GB, free: 292.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/1.045, allocations: 4.25 kB / 1.297 GB, free: 292.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/1.046, allocations: 254.7 kB / 1.298 GB, free: 292.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/1.046, allocations: 0.6958 MB / 1.298 GB, free: 291.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.2e-07/1.046, allocations: 0 / 1.298 GB, free: 291.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.002438/1.048, allocations: 0.9436 MB / 1.299 GB, free: 290.9 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches