Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [: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.995/1.995, 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.001119/0.001119, allocations: 181.2 kB / 487 MB, free: 5.363 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.243/1.243, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0008932/0.0008933, allocations: 93.62 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.001e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2316, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8106/1.042, allocations: 437.7 MB / 1.633 GB, free: 3.383 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/1.043, allocations: 65.41 kB / 1.633 GB, free: 3.352 MB / 1.057 GB Notification: Performance of FrontEnd: time 0.05875/1.101, allocations: 25.57 MB / 1.658 GB, free: 14.48 MB / 1.089 GB Notification: Performance of Transformations before backend: time 1.292e-05/1.101, allocations: 4 kB / 1.658 GB, free: 14.48 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006576/1.102, allocations: 0.4896 MB / 1.658 GB, free: 13.96 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/1.102, allocations: 8.031 kB / 1.658 GB, free: 13.95 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/1.102, allocations: 19.81 kB / 1.658 GB, free: 13.93 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/1.102, allocations: 220.4 kB / 1.658 GB, free: 13.68 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/1.103, allocations: 4 kB / 1.658 GB, free: 13.68 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/1.103, allocations: 8 kB / 1.658 GB, free: 13.67 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004588/1.103, allocations: 411.7 kB / 1.659 GB, free: 13.34 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/1.103, allocations: 218.3 kB / 1.659 GB, free: 13.15 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.103, allocations: 0 / 1.659 GB, free: 13.15 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/1.103, allocations: 0 / 1.659 GB, free: 13.15 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/1.103, allocations: 8 kB / 1.659 GB, free: 13.14 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/1.104, allocations: 0.9941 MB / 1.66 GB, free: 12.14 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/1.105, allocations: 147.2 kB / 1.66 GB, free: 12.02 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/1.105, allocations: 49.55 kB / 1.66 GB, free: 11.98 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/1.106, allocations: 1.936 MB / 1.662 GB, free: 9.727 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/1.106, allocations: 37.88 kB / 1.662 GB, free: 9.684 MB / 1.089 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/1.106, allocations: 0 / 1.662 GB, free: 9.684 MB / 1.089 GB Notification: Performance of matching and sorting (n=15): time 0.0004908/1.107, allocations: 137.6 kB / 1.662 GB, free: 9.559 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.107, allocations: 55.41 kB / 1.662 GB, free: 9.492 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/1.107, allocations: 134.4 kB / 1.662 GB, free: 9.363 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/1.107, allocations: 25.7 kB / 1.662 GB, free: 9.332 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/1.107, allocations: 142.6 kB / 1.663 GB, free: 9.195 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/1.107, allocations: 50.7 kB / 1.663 GB, free: 9.152 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.107, allocations: 8 kB / 1.663 GB, free: 9.145 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/1.107, allocations: 320.8 kB / 1.663 GB, free: 8.828 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/1.107, allocations: 26.88 kB / 1.663 GB, free: 8.809 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/1.107, allocations: 129.4 kB / 1.663 GB, free: 8.648 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/1.108, allocations: 85.64 kB / 1.663 GB, free: 8.578 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.108, allocations: 4 kB / 1.663 GB, free: 8.574 MB / 1.089 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004999/1.108, allocations: 212.3 kB / 1.663 GB, free: 8.383 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.108, allocations: 4 kB / 1.663 GB, free: 8.379 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.108, allocations: 4 kB / 1.663 GB, free: 8.375 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.108, allocations: 4 kB / 1.663 GB, free: 8.371 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/1.108, allocations: 67.84 kB / 1.663 GB, free: 8.305 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/1.109, allocations: 7.984 kB / 1.663 GB, free: 8.297 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/1.109, allocations: 19.75 kB / 1.663 GB, free: 8.277 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/1.109, allocations: 19.36 kB / 1.663 GB, free: 8.262 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.498e-05/1.109, allocations: 113.1 kB / 1.664 GB, free: 8.145 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/1.109, allocations: 15.81 kB / 1.664 GB, free: 8.129 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005943/1.109, allocations: 183.1 kB / 1.664 GB, free: 7.965 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.109, allocations: 0 / 1.664 GB, free: 7.965 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.109, allocations: 0 / 1.664 GB, free: 7.965 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.109, allocations: 0 / 1.664 GB, free: 7.965 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/1.11, allocations: 188.9 kB / 1.664 GB, free: 7.758 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.11, allocations: 4 kB / 1.664 GB, free: 7.754 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/1.11, allocations: 31.97 kB / 1.664 GB, free: 7.723 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.11, allocations: 4 kB / 1.664 GB, free: 7.719 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/1.11, allocations: 7.531 kB / 1.664 GB, free: 7.715 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/1.11, allocations: 0 / 1.664 GB, free: 7.715 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.11, allocations: 0 / 1.664 GB, free: 7.715 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004315/1.11, allocations: 241.2 kB / 1.664 GB, free: 7.48 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 9.172e-05/1.11, allocations: 112.1 kB / 1.664 GB, free: 7.359 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/1.11, allocations: 3.938 kB / 1.664 GB, free: 7.355 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/1.111, allocations: 23.89 kB / 1.664 GB, free: 7.332 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/1.111, allocations: 7.984 kB / 1.664 GB, free: 7.324 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/1.111, allocations: 7.625 kB / 1.664 GB, free: 7.32 MB / 1.089 GB Notification: Performance of sort global known variables: time 6.307e-05/1.111, allocations: 108 kB / 1.664 GB, free: 7.223 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.000397/1.111, allocations: 79.36 kB / 1.665 GB, free: 7.145 MB / 1.089 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003427/1.111, allocations: 218.8 kB / 1.665 GB, free: 6.926 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0002149/1.112, allocations: 109.8 kB / 1.665 GB, free: 6.84 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.112, allocations: 4 kB / 1.665 GB, free: 6.836 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/1.112, allocations: 43.55 kB / 1.665 GB, free: 6.797 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/1.112, allocations: 31.16 kB / 1.665 GB, free: 6.773 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/1.113, allocations: 163 kB / 1.665 GB, free: 6.605 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/1.113, allocations: 0.7515 MB / 1.666 GB, free: 5.824 MB / 1.089 GB Notification: Performance of SimCode: time 3e-07/1.113, allocations: 0 / 1.666 GB, free: 5.824 MB / 1.089 GB Notification: Performance of Templates: time 0.006724/1.12, allocations: 3.303 MB / 1.669 GB, free: 2.562 MB / 1.089 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches