Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.235/1.235, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.001074/0.001074, allocations: 188.5 kB / 316 MB, free: 3.492 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.12/1.12, allocations: 205.2 MB / 0.5667 GB, free: 15.56 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.0008265/0.0008266, allocations: 78.28 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.63e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1542, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.91/1.064, allocations: 421 MB / 1.296 GB, free: 326.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/1.064, allocations: 67.95 kB / 1.296 GB, free: 326.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.04753/1.112, allocations: 24.9 MB / 1.32 GB, free: 302.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.112, allocations: 4 kB / 1.32 GB, free: 302.3 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004879/1.113, allocations: 490.5 kB / 1.321 GB, free: 301.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/1.113, allocations: 8.031 kB / 1.321 GB, free: 301.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/1.113, allocations: 23.8 kB / 1.321 GB, free: 301.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/1.113, allocations: 206.8 kB / 1.321 GB, free: 301.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/1.113, allocations: 8 kB / 1.321 GB, free: 301.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/1.113, allocations: 8 kB / 1.321 GB, free: 301.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003487/1.113, allocations: 412.2 kB / 1.321 GB, free: 301 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/1.114, allocations: 216.7 kB / 1.321 GB, free: 300.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.114, allocations: 0 / 1.321 GB, free: 300.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/1.114, allocations: 3.906 kB / 1.321 GB, free: 300.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/1.114, allocations: 12 kB / 1.321 GB, free: 300.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006842/1.114, allocations: 0.973 MB / 1.322 GB, free: 299.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/1.115, allocations: 149.6 kB / 1.322 GB, free: 299.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/1.115, allocations: 60.73 kB / 1.323 GB, free: 299.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008483/1.115, allocations: 1.935 MB / 1.324 GB, free: 297.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/1.115, allocations: 42.55 kB / 1.324 GB, free: 297.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/1.115, allocations: 0 / 1.324 GB, free: 297.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004363/1.116, allocations: 133.4 kB / 1.325 GB, free: 297 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.427e-05/1.116, allocations: 55.41 kB / 1.325 GB, free: 297 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/1.116, allocations: 141.5 kB / 1.325 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/1.116, allocations: 29.7 kB / 1.325 GB, free: 296.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/1.116, allocations: 135.8 kB / 1.325 GB, free: 296.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/1.116, allocations: 55.2 kB / 1.325 GB, free: 296.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/1.116, allocations: 0 / 1.325 GB, free: 296.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.798e-05/1.116, allocations: 322.8 kB / 1.325 GB, free: 296.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/1.116, allocations: 27.98 kB / 1.325 GB, free: 296.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/1.116, allocations: 133.7 kB / 1.325 GB, free: 296.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/1.117, allocations: 79.67 kB / 1.326 GB, free: 296 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.117, allocations: 4 kB / 1.326 GB, free: 296 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004258/1.117, allocations: 213.1 kB / 1.326 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/1.117, allocations: 4 kB / 1.326 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.117, allocations: 4 kB / 1.326 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.117, allocations: 8.469 kB / 1.326 GB, free: 295.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/1.117, allocations: 59.91 kB / 1.326 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.117, allocations: 7.938 kB / 1.326 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.983e-05/1.117, allocations: 19.75 kB / 1.326 GB, free: 295.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/1.117, allocations: 16 kB / 1.326 GB, free: 295.7 MB / 0.8698 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 5.782e-05/1.117, allocations: 108.9 kB / 1.326 GB, free: 295.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/1.117, allocations: 15.81 kB / 1.326 GB, free: 295.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/1.118, allocations: 189.7 kB / 1.326 GB, free: 295.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.118, allocations: 7.906 kB / 1.326 GB, free: 295.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.118, allocations: 3.984 kB / 1.326 GB, free: 295.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.118, allocations: 4 kB / 1.326 GB, free: 295.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/1.118, allocations: 182.1 kB / 1.326 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.118, allocations: 0 / 1.326 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/1.118, allocations: 27.92 kB / 1.326 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.118, allocations: 4 kB / 1.326 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/1.118, allocations: 4 kB / 1.326 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.118, allocations: 4 kB / 1.326 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.118, allocations: 0 / 1.326 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003562/1.119, allocations: 239.2 kB / 1.327 GB, free: 294.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/1.119, allocations: 113 kB / 1.327 GB, free: 294.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/1.119, allocations: 3.906 kB / 1.327 GB, free: 294.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/1.119, allocations: 11.88 kB / 1.327 GB, free: 294.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/1.119, allocations: 7.984 kB / 1.327 GB, free: 294.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/1.119, allocations: 15.92 kB / 1.327 GB, free: 294.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.632e-05/1.119, allocations: 103.8 kB / 1.327 GB, free: 294.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000334/1.119, allocations: 71.94 kB / 1.327 GB, free: 294.5 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 (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.0002514/1.12, allocations: 211.1 kB / 1.327 GB, free: 294.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001789/1.12, allocations: 104.5 kB / 1.327 GB, free: 294.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.12, allocations: 4.125 kB / 1.327 GB, free: 294.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/1.12, allocations: 43.5 kB / 1.327 GB, free: 294.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/1.12, allocations: 31.88 kB / 1.327 GB, free: 294.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/1.12, allocations: 164.6 kB / 1.327 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/1.121, allocations: 0.7477 MB / 1.328 GB, free: 293.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/1.121, allocations: 4 kB / 1.328 GB, free: 293.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.005088/1.126, allocations: 3.274 MB / 1.331 GB, free: 289.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches