Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,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.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,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.TemperatureDependentDensityProperties") [: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.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.000998/0.000998, allocations: 180.5 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.052/1.052, 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.0008284/0.0008284, allocations: 87.38 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.35e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1501, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.566/0.7161, allocations: 340.1 MB / 1.217 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.7164, allocations: 81.23 kB / 1.217 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.03552/0.7519, allocations: 15.89 MB / 1.232 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.752, allocations: 3.938 kB / 1.232 GB, free: 0.5039 MB / 0.8386 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.0005515/0.7525, allocations: 473 kB / 1.233 GB, free: 8 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.7526, allocations: 8.031 kB / 1.233 GB, free: 0 / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.7544, allocations: 203 kB / 1.233 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.7547, allocations: 212.5 kB / 1.233 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.7547, allocations: 8 kB / 1.233 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.7547, allocations: 8 kB / 1.233 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003704/0.7551, allocations: 196 kB / 1.233 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.7554, allocations: 239.8 kB / 1.234 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7554, allocations: 0 / 1.234 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.7555, allocations: 0 / 1.234 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.7555, allocations: 15.94 kB / 1.234 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.7569, allocations: 1.34 MB / 1.235 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.7572, allocations: 143.2 kB / 1.235 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.7573, allocations: 53.61 kB / 1.235 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.7573, allocations: 4 kB / 1.235 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.7573, allocations: 33.56 kB / 1.235 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.7573, allocations: 4 kB / 1.235 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000299/0.7576, allocations: 152.5 kB / 1.235 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.7577, allocations: 51.41 kB / 1.235 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.39e-05/0.7578, allocations: 127.4 kB / 1.235 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.7578, allocations: 25.7 kB / 1.235 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.7579, allocations: 127 kB / 1.236 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.7579, allocations: 60.23 kB / 1.236 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.7579, allocations: 0 / 1.236 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.758, allocations: 328.8 kB / 1.236 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.818e-05/0.7581, allocations: 41.28 kB / 1.236 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.7582, allocations: 119.6 kB / 1.236 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.7583, allocations: 61.75 kB / 1.236 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7583, allocations: 3.938 kB / 1.236 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002908/0.7586, allocations: 197.9 kB / 1.236 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.7587, allocations: 4 kB / 1.236 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.7587, allocations: 4 kB / 1.236 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7587, allocations: 4 kB / 1.236 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.7591, allocations: 67.89 kB / 1.236 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.7591, allocations: 4 kB / 1.236 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.7593, allocations: 27.98 kB / 1.236 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.7594, allocations: 23.16 kB / 1.236 GB, free: 12.25 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * Array equations: 0 * 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.618e-05/0.7595, allocations: 104.9 kB / 1.237 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.7595, allocations: 15.81 kB / 1.237 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.7599, allocations: 183.2 kB / 1.237 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7599, allocations: 11.94 kB / 1.237 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.7599, allocations: 0 / 1.237 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7599, allocations: 0 / 1.237 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.7601, allocations: 214.2 kB / 1.237 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.7601, allocations: 0 / 1.237 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.7605, allocations: 47.95 kB / 1.237 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7605, allocations: 4 kB / 1.237 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.7605, allocations: 0 / 1.237 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7605, allocations: 0 / 1.237 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7605, allocations: 4 kB / 1.237 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002644/0.7608, allocations: 255.6 kB / 1.237 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/0.7609, allocations: 104.9 kB / 1.237 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.7609, allocations: 3.906 kB / 1.237 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.7612, allocations: 15.98 kB / 1.237 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.7612, allocations: 11.61 kB / 1.237 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.7613, allocations: 15.98 kB / 1.237 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.638e-05/0.7613, allocations: 99.05 kB / 1.238 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003104/0.7616, allocations: 48.12 kB / 1.238 GB, free: 11.16 MB / 0.8542 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0001687/0.7618, allocations: 146.2 kB / 1.238 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.7621, allocations: 147.1 kB / 1.238 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7621, allocations: 4 kB / 1.238 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.7622, allocations: 71.11 kB / 1.238 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.7624, allocations: 31.97 kB / 1.238 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.7631, allocations: 207 kB / 1.238 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.7635, allocations: 0.7482 MB / 1.239 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of SimCode: time 2.41e-07/0.7635, allocations: 0 / 1.239 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of Templates: time 0.00573/0.7692, allocations: 3.279 MB / 1.242 GB, free: 6.59 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches