Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.977/1.977, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001029/0.001029, allocations: 177 kB / 487 MB, free: 5.391 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.301/1.301, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0009121/0.0009122, allocations: 101.4 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.821e-06/5.931e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2274, allocations: 142.3 MB / 1.205 GB, free: 26.32 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8483/1.076, allocations: 417.7 MB / 1.613 GB, free: 6.625 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.076, allocations: 68.12 kB / 1.613 GB, free: 6.594 MB / 1.042 GB Notification: Performance of FrontEnd: time 0.04156/1.118, allocations: 18.72 MB / 1.631 GB, free: 7.605 MB / 1.057 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.118, allocations: 4 kB / 1.631 GB, free: 7.602 MB / 1.057 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.0003733/1.118, allocations: 356.9 kB / 1.632 GB, free: 7.215 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.118, allocations: 9.031 kB / 1.632 GB, free: 7.207 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/1.118, allocations: 7.906 kB / 1.632 GB, free: 7.199 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/1.118, allocations: 163 kB / 1.632 GB, free: 7 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.118, allocations: 0 / 1.632 GB, free: 7 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/1.118, allocations: 7.906 kB / 1.632 GB, free: 6.992 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.258e-05/1.118, allocations: 14.67 kB / 1.632 GB, free: 6.98 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.269e-05/1.118, allocations: 52.67 kB / 1.632 GB, free: 6.926 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.119, allocations: 7.969 kB / 1.632 GB, free: 6.918 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/1.119, allocations: 0 / 1.632 GB, free: 6.918 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/1.119, allocations: 4 kB / 1.632 GB, free: 6.914 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/1.119, allocations: 133 kB / 1.632 GB, free: 6.75 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 7.189e-05/1.119, allocations: 53.05 kB / 1.632 GB, free: 6.699 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/1.119, allocations: 15.17 kB / 1.632 GB, free: 6.684 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000695/1.12, allocations: 0.6059 MB / 1.633 GB, free: 5.98 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/1.12, allocations: 35.69 kB / 1.633 GB, free: 5.938 MB / 1.057 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/1.12, allocations: 0 / 1.633 GB, free: 5.938 MB / 1.057 GB Notification: Performance of matching and sorting (n=7): time 0.0005279/1.12, allocations: 272 kB / 1.633 GB, free: 5.633 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/1.12, allocations: 51.41 kB / 1.633 GB, free: 5.57 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/1.12, allocations: 100.7 kB / 1.633 GB, free: 5.469 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/1.12, allocations: 25.7 kB / 1.633 GB, free: 5.438 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/1.12, allocations: 88.05 kB / 1.633 GB, free: 5.348 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/1.12, allocations: 23.38 kB / 1.633 GB, free: 5.328 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/1.12, allocations: 0 / 1.633 GB, free: 5.328 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.12, allocations: 322.5 kB / 1.634 GB, free: 5.008 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/1.12, allocations: 11.81 kB / 1.634 GB, free: 5 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/1.12, allocations: 48.72 kB / 1.634 GB, free: 4.938 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/1.121, allocations: 19.11 kB / 1.634 GB, free: 4.922 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.121, allocations: 4 kB / 1.634 GB, free: 4.918 MB / 1.057 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001169/1.121, allocations: 82.7 kB / 1.634 GB, free: 4.84 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.121, allocations: 8.125 kB / 1.634 GB, free: 4.832 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.121, allocations: 0 / 1.634 GB, free: 4.832 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.121, allocations: 4 kB / 1.634 GB, free: 4.828 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/1.121, allocations: 19.94 kB / 1.634 GB, free: 4.809 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.121, allocations: 7.984 kB / 1.634 GB, free: 4.801 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/1.121, allocations: 256 / 1.634 GB, free: 4.801 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/1.121, allocations: 4 kB / 1.634 GB, free: 4.797 MB / 1.057 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 6.811e-05/1.121, allocations: 104.9 kB / 1.634 GB, free: 4.688 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/1.121, allocations: 11.91 kB / 1.634 GB, free: 4.676 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/1.121, allocations: 11.62 kB / 1.634 GB, free: 4.672 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/1.121, allocations: 0 / 1.634 GB, free: 4.672 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.121, allocations: 4 kB / 1.634 GB, free: 4.668 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.121, allocations: 0 / 1.634 GB, free: 4.668 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/1.121, allocations: 149.4 kB / 1.634 GB, free: 4.488 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.121, allocations: 0 / 1.634 GB, free: 4.488 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.611e-05/1.121, allocations: 23.05 kB / 1.634 GB, free: 4.469 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.121, allocations: 0 / 1.634 GB, free: 4.469 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/1.121, allocations: 0 / 1.634 GB, free: 4.469 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.121, allocations: 0 / 1.634 GB, free: 4.469 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/1.121, allocations: 288 / 1.634 GB, free: 4.469 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001618/1.122, allocations: 170.6 kB / 1.634 GB, free: 4.293 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/1.122, allocations: 96.09 kB / 1.634 GB, free: 4.184 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/1.122, allocations: 0 / 1.634 GB, free: 4.184 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/1.122, allocations: 3.984 kB / 1.634 GB, free: 4.18 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/1.122, allocations: 4 kB / 1.634 GB, free: 4.176 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/1.122, allocations: 3.984 kB / 1.634 GB, free: 4.172 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.938e-05/1.122, allocations: 79.28 kB / 1.635 GB, free: 4.094 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000244/1.122, allocations: 23.44 kB / 1.635 GB, free: 4.074 MB / 1.057 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.0002113/1.122, allocations: 143.2 kB / 1.635 GB, free: 3.926 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 9.585e-05/1.122, allocations: 39.3 kB / 1.635 GB, free: 3.895 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.122, allocations: 0 / 1.635 GB, free: 3.895 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/1.122, allocations: 20.06 kB / 1.635 GB, free: 3.879 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/1.123, allocations: 6.75 kB / 1.635 GB, free: 3.875 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/1.123, allocations: 265.9 kB / 1.635 GB, free: 3.59 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/1.123, allocations: 0.6958 MB / 1.636 GB, free: 2.867 MB / 1.057 GB Notification: Performance of SimCode: time 2.7e-07/1.123, allocations: 0 / 1.636 GB, free: 2.867 MB / 1.057 GB Notification: Performance of Templates: time 0.003144/1.127, allocations: 0.9389 MB / 1.637 GB, free: 1.938 MB / 1.057 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches