Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.042/2.042, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001285/0.001285, allocations: 183.7 kB / 490.8 MB, free: 1.941 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.295/1.295, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009365/0.0009366, allocations: 83.84 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.452e-06/6.473e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2676, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9151/1.183, allocations: 438.5 MB / 1.64 GB, free: 10.48 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/1.183, allocations: 70.86 kB / 1.64 GB, free: 10.44 MB / 1.057 GB Notification: Performance of FrontEnd: time 0.0592/1.242, allocations: 25.57 MB / 1.665 GB, free: 5.566 MB / 1.073 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.242, allocations: 0 / 1.665 GB, free: 5.566 MB / 1.073 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.0006849/1.243, allocations: 497 kB / 1.665 GB, free: 5.047 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.243, allocations: 8.031 kB / 1.665 GB, free: 5.039 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/1.243, allocations: 19.81 kB / 1.665 GB, free: 5.02 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/1.243, allocations: 220.6 kB / 1.666 GB, free: 4.773 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/1.243, allocations: 4 kB / 1.666 GB, free: 4.77 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/1.243, allocations: 8 kB / 1.666 GB, free: 4.762 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004905/1.244, allocations: 416.3 kB / 1.666 GB, free: 4.426 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/1.244, allocations: 216.9 kB / 1.666 GB, free: 4.238 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.244, allocations: 7.922 kB / 1.666 GB, free: 4.23 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/1.244, allocations: 3.984 kB / 1.666 GB, free: 4.227 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/1.244, allocations: 8 kB / 1.666 GB, free: 4.219 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/1.245, allocations: 0.9966 MB / 1.667 GB, free: 3.223 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/1.246, allocations: 140.2 kB / 1.667 GB, free: 3.102 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.882e-05/1.246, allocations: 49.27 kB / 1.667 GB, free: 3.062 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/1.247, allocations: 1.936 MB / 1.669 GB, free: 0.8047 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/1.247, allocations: 37.75 kB / 1.669 GB, free: 0.7617 MB / 1.073 GB Notification: Performance of pre-optimization done (n=15): time 3.877e-06/1.247, allocations: 0 / 1.669 GB, free: 0.7617 MB / 1.073 GB Notification: Performance of matching and sorting (n=15): time 0.0005358/1.248, allocations: 134.4 kB / 1.669 GB, free: 0.6367 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/1.248, allocations: 55.34 kB / 1.669 GB, free: 0.5703 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/1.248, allocations: 140.2 kB / 1.67 GB, free: 448 kB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.248, allocations: 29.7 kB / 1.67 GB, free: 412 kB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/1.248, allocations: 140.6 kB / 1.67 GB, free: 272 kB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/1.248, allocations: 49.73 kB / 1.67 GB, free: 228 kB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/1.248, allocations: 0 / 1.67 GB, free: 228 kB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.248, allocations: 329.9 kB / 1.67 GB, free: 15.9 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/1.248, allocations: 27.12 kB / 1.67 GB, free: 15.88 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/1.248, allocations: 129.2 kB / 1.67 GB, free: 15.72 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/1.249, allocations: 77.73 kB / 1.67 GB, free: 15.65 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.249, allocations: 0 / 1.67 GB, free: 15.65 MB / 1.089 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005079/1.249, allocations: 208.2 kB / 1.67 GB, free: 15.46 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.249, allocations: 8 kB / 1.67 GB, free: 15.46 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.249, allocations: 7.906 kB / 1.67 GB, free: 15.45 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.249, allocations: 8.469 kB / 1.671 GB, free: 15.44 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/1.25, allocations: 63.84 kB / 1.671 GB, free: 15.38 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/1.25, allocations: 15.92 kB / 1.671 GB, free: 15.37 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/1.25, allocations: 19.75 kB / 1.671 GB, free: 15.35 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/1.25, allocations: 8 kB / 1.671 GB, free: 15.34 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 9.241e-05/1.25, allocations: 120.5 kB / 1.671 GB, free: 15.22 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/1.25, allocations: 15.81 kB / 1.671 GB, free: 15.2 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/1.251, allocations: 174.8 kB / 1.671 GB, free: 15.05 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.251, allocations: 8 kB / 1.671 GB, free: 15.04 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.251, allocations: 0 / 1.671 GB, free: 15.04 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.251, allocations: 3.938 kB / 1.671 GB, free: 15.04 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/1.251, allocations: 187.8 kB / 1.671 GB, free: 14.83 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.251, allocations: 0 / 1.671 GB, free: 14.83 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/1.251, allocations: 31.97 kB / 1.671 GB, free: 14.8 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.251, allocations: 0 / 1.671 GB, free: 14.8 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/1.251, allocations: 7.375 kB / 1.671 GB, free: 14.79 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.251, allocations: 3.906 kB / 1.671 GB, free: 14.79 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.251, allocations: 3.938 kB / 1.671 GB, free: 14.79 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004534/1.251, allocations: 238.3 kB / 1.671 GB, free: 14.55 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 9.822e-05/1.252, allocations: 115.5 kB / 1.671 GB, free: 14.43 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/1.252, allocations: 4 kB / 1.671 GB, free: 14.43 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/1.252, allocations: 23.86 kB / 1.671 GB, free: 14.4 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/1.252, allocations: 15.89 kB / 1.672 GB, free: 14.39 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/1.252, allocations: 7.25 kB / 1.672 GB, free: 14.38 MB / 1.089 GB Notification: Performance of sort global known variables: time 7.879e-05/1.252, allocations: 102.8 kB / 1.672 GB, free: 14.29 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0004418/1.252, allocations: 79.36 kB / 1.672 GB, free: 14.21 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.0004092/1.253, allocations: 225.4 kB / 1.672 GB, free: 14 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0002469/1.253, allocations: 105.2 kB / 1.672 GB, free: 13.91 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.253, allocations: 0 / 1.672 GB, free: 13.91 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/1.253, allocations: 42.73 kB / 1.672 GB, free: 13.88 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/1.253, allocations: 24.11 kB / 1.672 GB, free: 13.86 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/1.254, allocations: 171 kB / 1.672 GB, free: 13.68 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/1.254, allocations: 0.7465 MB / 1.673 GB, free: 12.91 MB / 1.089 GB Notification: Performance of SimCode: time 2.81e-07/1.254, allocations: 0 / 1.673 GB, free: 12.91 MB / 1.089 GB Notification: Performance of Templates: time 0.007029/1.261, allocations: 3.298 MB / 1.676 GB, free: 9.645 MB / 1.089 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches