Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.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.WaterProperties,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.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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.WaterProperties") [: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.192/1.192, allocations: 249.4 MB / 256.7 MB, free: 7.066 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.00106/0.00106, allocations: 181.3 kB / 316 MB, free: 3.547 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.082/1.082, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008131/0.0008134, allocations: 90.23 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.111e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1499, allocations: 106.3 MB / 0.8845 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6467/0.7966, allocations: 373.6 MB / 1.249 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.7968, allocations: 74.84 kB / 1.249 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3603/1.157, allocations: 18.89 MB / 1.268 GB, free: 284.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.157, allocations: 3.125 kB / 1.268 GB, free: 284.5 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.0004606/1.158, allocations: 477 kB / 1.268 GB, free: 284.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/1.158, allocations: 7.5 kB / 1.268 GB, free: 284.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/1.158, allocations: 25.5 kB / 1.268 GB, free: 284.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/1.158, allocations: 205.2 kB / 1.269 GB, free: 283.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/1.158, allocations: 7.031 kB / 1.269 GB, free: 283.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/1.158, allocations: 7.062 kB / 1.269 GB, free: 283.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003617/1.158, allocations: 419.7 kB / 1.269 GB, free: 283.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/1.159, allocations: 213.2 kB / 1.269 GB, free: 283.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/1.159, allocations: 0.75 kB / 1.269 GB, free: 283.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/1.159, allocations: 0 / 1.269 GB, free: 283.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/1.159, allocations: 14.88 kB / 1.269 GB, free: 283.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/1.159, allocations: 0.9819 MB / 1.27 GB, free: 283.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/1.16, allocations: 151.8 kB / 1.27 GB, free: 283 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/1.16, allocations: 46.64 kB / 1.27 GB, free: 283 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008933/1.161, allocations: 1.922 MB / 1.272 GB, free: 281 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/1.161, allocations: 36.69 kB / 1.272 GB, free: 281 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/1.161, allocations: 0 / 1.272 GB, free: 281 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004436/1.161, allocations: 139.6 kB / 1.272 GB, free: 281 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.448e-05/1.161, allocations: 51.41 kB / 1.272 GB, free: 280.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/1.161, allocations: 133.9 kB / 1.273 GB, free: 280.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/1.161, allocations: 29.02 kB / 1.273 GB, free: 280.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/1.161, allocations: 138.2 kB / 1.273 GB, free: 280.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/1.161, allocations: 58.02 kB / 1.273 GB, free: 280.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/1.161, allocations: 0 / 1.273 GB, free: 280.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.32e-05/1.161, allocations: 324.8 kB / 1.273 GB, free: 280.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/1.161, allocations: 25.7 kB / 1.273 GB, free: 280.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.086e-05/1.162, allocations: 132.5 kB / 1.273 GB, free: 280.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/1.162, allocations: 79.14 kB / 1.273 GB, free: 280.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.162, allocations: 5.688 kB / 1.273 GB, free: 280.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004212/1.162, allocations: 212.8 kB / 1.274 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.162, allocations: 7.438 kB / 1.274 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.162, allocations: 3.938 kB / 1.274 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.162, allocations: 7.031 kB / 1.274 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/1.162, allocations: 59.77 kB / 1.274 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.163, allocations: 5.375 kB / 1.274 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/1.163, allocations: 21.06 kB / 1.274 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/1.163, allocations: 17.44 kB / 1.274 GB, free: 280.1 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.536e-05/1.163, allocations: 114.1 kB / 1.274 GB, free: 280 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/1.163, allocations: 18.31 kB / 1.274 GB, free: 280 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/1.163, allocations: 180 kB / 1.274 GB, free: 279.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.163, allocations: 0 / 1.274 GB, free: 279.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.163, allocations: 6.469 kB / 1.274 GB, free: 279.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.163, allocations: 3.312 kB / 1.274 GB, free: 279.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/1.163, allocations: 184.5 kB / 1.274 GB, free: 279.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.163, allocations: 3.906 kB / 1.274 GB, free: 279.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/1.164, allocations: 32.17 kB / 1.274 GB, free: 279.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.164, allocations: 3.938 kB / 1.274 GB, free: 279.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.164, allocations: 0 / 1.274 GB, free: 279.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.164, allocations: 7.062 kB / 1.274 GB, free: 279.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.164, allocations: 1.969 kB / 1.274 GB, free: 279.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003618/1.164, allocations: 240.1 kB / 1.274 GB, free: 279.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/1.164, allocations: 110.9 kB / 1.275 GB, free: 279.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/1.164, allocations: 3.906 kB / 1.275 GB, free: 279.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/1.164, allocations: 10.38 kB / 1.275 GB, free: 279.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/1.164, allocations: 9.062 kB / 1.275 GB, free: 279.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/1.164, allocations: 13.11 kB / 1.275 GB, free: 279.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.973e-05/1.164, allocations: 103.8 kB / 1.275 GB, free: 279.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003305/1.165, allocations: 70.38 kB / 1.275 GB, free: 279.4 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.0002137/1.165, allocations: 185.5 kB / 1.275 GB, free: 279.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002013/1.165, allocations: 109 kB / 1.275 GB, free: 279.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.165, allocations: 3.781 kB / 1.275 GB, free: 279.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/1.165, allocations: 41.23 kB / 1.275 GB, free: 279.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/1.165, allocations: 31.03 kB / 1.275 GB, free: 279.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/1.166, allocations: 158.7 kB / 1.275 GB, free: 279.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/1.166, allocations: 0.7472 MB / 1.276 GB, free: 278.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/1.166, allocations: 0 / 1.276 GB, free: 278.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.00504/1.171, allocations: 3.232 MB / 1.279 GB, free: 278.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_WaterProperties.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches