Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") [: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.21/1.21, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.0009084/0.0009084, allocations: 181.1 kB / 316 MB, free: 3.574 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.085/1.085, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0007822/0.0007822, allocations: 94.12 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.2e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1442, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9332/1.077, allocations: 431.1 MB / 1.306 GB, free: 278.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.078, allocations: 80.3 kB / 1.306 GB, free: 278.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1953/1.273, allocations: 84.48 MB / 1.388 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.136e-06/1.273, allocations: 4 kB / 1.388 GB, free: 213.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.002279/1.275, allocations: 0.7198 MB / 1.389 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/1.275, allocations: 12.03 kB / 1.389 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/1.276, allocations: 19.81 kB / 1.389 GB, free: 212.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/1.276, allocations: 214.4 kB / 1.389 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/1.276, allocations: 4 kB / 1.389 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/1.276, allocations: 12 kB / 1.389 GB, free: 212.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003685/1.276, allocations: 405.6 kB / 1.39 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/1.276, allocations: 221 kB / 1.39 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.276, allocations: 4 kB / 1.39 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/1.276, allocations: 3.906 kB / 1.39 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/1.276, allocations: 7.984 kB / 1.39 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/1.277, allocations: 1.007 MB / 1.391 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/1.277, allocations: 138 kB / 1.391 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/1.277, allocations: 57.61 kB / 1.391 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008887/1.278, allocations: 1.949 MB / 1.393 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/1.278, allocations: 41.12 kB / 1.393 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.163e-06/1.278, allocations: 4 kB / 1.393 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0004406/1.279, allocations: 136.8 kB / 1.393 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.276e-05/1.279, allocations: 51.41 kB / 1.393 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/1.279, allocations: 141.6 kB / 1.393 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/1.279, allocations: 25.7 kB / 1.393 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/1.279, allocations: 138.5 kB / 1.393 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/1.279, allocations: 53.83 kB / 1.393 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/1.279, allocations: 0 / 1.393 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.663e-05/1.279, allocations: 329.3 kB / 1.394 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.432e-05/1.279, allocations: 22.31 kB / 1.394 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/1.279, allocations: 131 kB / 1.394 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/1.279, allocations: 85.17 kB / 1.394 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.279, allocations: 7.875 kB / 1.394 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004374/1.28, allocations: 203.6 kB / 1.394 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/1.28, allocations: 10.88 kB / 1.394 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/1.28, allocations: 4 kB / 1.394 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/1.28, allocations: 8 kB / 1.394 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/1.28, allocations: 58.59 kB / 1.394 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.28, allocations: 4 kB / 1.394 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/1.28, allocations: 23.73 kB / 1.394 GB, free: 207 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/1.28, allocations: 19.19 kB / 1.394 GB, free: 207 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 4.939e-05/1.28, allocations: 112.9 kB / 1.394 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/1.28, allocations: 15.81 kB / 1.394 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/1.281, allocations: 188.8 kB / 1.395 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.281, allocations: 3.906 kB / 1.395 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/1.281, allocations: 4 kB / 1.395 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.281, allocations: 0 / 1.395 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/1.281, allocations: 183.7 kB / 1.395 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.281, allocations: 0 / 1.395 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.281, allocations: 27.98 kB / 1.395 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.281, allocations: 0 / 1.395 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/1.281, allocations: 7.984 kB / 1.395 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.281, allocations: 4 kB / 1.395 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.281, allocations: 7.938 kB / 1.395 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003754/1.282, allocations: 234.4 kB / 1.395 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/1.282, allocations: 117.7 kB / 1.395 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/1.282, allocations: 3.906 kB / 1.395 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/1.282, allocations: 10.11 kB / 1.395 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/1.282, allocations: 11.98 kB / 1.395 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/1.282, allocations: 11.12 kB / 1.395 GB, free: 206 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.79e-05/1.282, allocations: 98.64 kB / 1.395 GB, free: 206 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003714/1.282, allocations: 86.92 kB / 1.395 GB, free: 205.9 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.0002592/1.283, allocations: 234.9 kB / 1.396 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001813/1.283, allocations: 99.05 kB / 1.396 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.283, allocations: 4.125 kB / 1.396 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-05/1.283, allocations: 46.42 kB / 1.396 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/1.283, allocations: 42.61 kB / 1.396 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/1.284, allocations: 162.3 kB / 1.396 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/1.284, allocations: 0.7511 MB / 1.397 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/1.284, allocations: 0 / 1.397 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.005508/1.289, allocations: 3.75 MB / 1.4 GB, free: 200.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches