Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [: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.193/1.193, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.0009696/0.0009696, allocations: 177.2 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.056/1.056, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0008226/0.0008226, allocations: 93.72 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.679e-06/4.719e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1441, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5543/0.6985, allocations: 336.9 MB / 1.214 GB, free: 1.055 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.6988, allocations: 80 kB / 1.214 GB, free: 1.008 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01543/0.7142, allocations: 7.402 MB / 1.221 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.7143, allocations: 3.938 kB / 1.221 GB, free: 11.17 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002649/0.7146, allocations: 350 kB / 1.221 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.7146, allocations: 8.031 kB / 1.221 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.7146, allocations: 7.938 kB / 1.221 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.75e-05/0.7147, allocations: 167 kB / 1.221 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.7148, allocations: 25.7 kB / 1.221 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.7148, allocations: 11.91 kB / 1.221 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.259e-05/0.7149, allocations: 11.56 kB / 1.221 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.932e-05/0.7149, allocations: 33.69 kB / 1.221 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.715, allocations: 4 kB / 1.221 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.715, allocations: 0 / 1.221 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.715, allocations: 7.922 kB / 1.221 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.7155, allocations: 0.5729 MB / 1.222 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.072e-05/0.7156, allocations: 22.61 kB / 1.222 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.7156, allocations: 8.922 kB / 1.222 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.7158, allocations: 354.7 kB / 1.222 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.7158, allocations: 30.56 kB / 1.222 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.7158, allocations: 0 / 1.222 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001881/0.716, allocations: 49.06 kB / 1.222 GB, free: 9.254 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.7161, allocations: 61.11 kB / 1.223 GB, free: 9.184 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/0.7161, allocations: 92.91 kB / 1.223 GB, free: 9.086 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.7162, allocations: 25.7 kB / 1.223 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.7162, allocations: 87.64 kB / 1.223 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.7162, allocations: 3.906 kB / 1.223 GB, free: 8.965 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.7162, allocations: 0 / 1.223 GB, free: 8.965 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.7163, allocations: 314.8 kB / 1.223 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.7163, allocations: 4 kB / 1.223 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.7163, allocations: 21.22 kB / 1.223 GB, free: 8.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.7165, allocations: 19.97 kB / 1.223 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.7165, allocations: 0 / 1.223 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001827/0.7167, allocations: 67.58 kB / 1.223 GB, free: 8.535 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.7167, allocations: 8 kB / 1.223 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.7167, allocations: 0 / 1.223 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7167, allocations: 0 / 1.223 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.838e-05/0.7168, allocations: 4 kB / 1.223 GB, free: 8.523 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.7168, allocations: 4.062 kB / 1.223 GB, free: 8.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.7168, allocations: 7.938 kB / 1.223 GB, free: 8.512 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.7168, allocations: 0 / 1.223 GB, free: 8.512 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.664e-05/0.7169, allocations: 101 kB / 1.223 GB, free: 8.406 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.7169, allocations: 11.84 kB / 1.223 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.776e-05/0.717, allocations: 128.7 kB / 1.223 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.403e-05/0.7171, allocations: 180.3 kB / 1.224 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.876e-05/0.7171, allocations: 184.2 kB / 1.224 GB, free: 7.895 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.963e-05/0.7172, allocations: 188.1 kB / 1.224 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.7173, allocations: 381.7 kB / 1.224 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.988e-05/0.7174, allocations: 105 kB / 1.224 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.7174, allocations: 116.9 kB / 1.224 GB, free: 7.059 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.466e-05/0.7174, allocations: 176.3 kB / 1.225 GB, free: 6.879 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.7175, allocations: 176.3 kB / 1.225 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.466e-05/0.7175, allocations: 184 kB / 1.225 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-05/0.7176, allocations: 180.3 kB / 1.225 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001017/0.7177, allocations: 311.7 kB / 1.225 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.7178, allocations: 183.2 kB / 1.226 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.7178, allocations: 180.2 kB / 1.226 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.7179, allocations: 108.9 kB / 1.226 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.718, allocations: 180.3 kB / 1.226 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.718, allocations: 113 kB / 1.226 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.149e-05/0.7181, allocations: 82.97 kB / 1.226 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002356/0.7183, allocations: 32 kB / 1.226 GB, free: 5.098 MB / 0.8386 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 (0): * Single equations (assignments): 0 * 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.0002062/0.7185, allocations: 238.2 kB / 1.227 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.628e-05/0.7186, allocations: 4 kB / 1.227 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.7186, allocations: 0 / 1.227 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.7186, allocations: 0 / 1.227 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.7189, allocations: 0.5337 MB / 1.227 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001341/0.719, allocations: 119.6 kB / 1.227 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.7192, allocations: 0.688 MB / 1.228 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.7192, allocations: 0 / 1.228 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of Templates: time 0.002677/0.7219, allocations: 1.065 MB / 1.229 GB, free: 2.453 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches