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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 182.5 kB / 326.5 MB, free: 2.25 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.783/1.783, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008764/0.0008764, allocations: 95.67 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004508, allocations: 10.41 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2456, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9584/1.204, allocations: 336.6 MB / 1.229 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.204, allocations: 92.69 kB / 1.229 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01764/1.222, allocations: 7.757 MB / 1.236 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.634e-06/1.222, allocations: 0 / 1.236 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.001e-06/1.222, allocations: 0 / 1.236 GB, free: 7.258 MB / 0.7448 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.0004025/1.222, allocations: 347.2 kB / 1.237 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.223, allocations: 8.031 kB / 1.237 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/1.223, allocations: 3.062 kB / 1.237 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.223, allocations: 167 kB / 1.237 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.56e-05/1.223, allocations: 29.69 kB / 1.237 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/1.223, allocations: 4 kB / 1.237 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/1.223, allocations: 45.12 kB / 1.237 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.223, allocations: 0 / 1.237 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.223, allocations: 4 kB / 1.237 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/1.223, allocations: 0 / 1.237 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.935e-05/1.223, allocations: 11.98 kB / 1.237 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/1.224, allocations: 0.5818 MB / 1.238 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.344e-05/1.224, allocations: 22.2 kB / 1.238 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/1.224, allocations: 351.6 kB / 1.238 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/1.224, allocations: 38.44 kB / 1.238 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.224, allocations: 0 / 1.238 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001698/1.224, allocations: 37.61 kB / 1.238 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/1.224, allocations: 51.41 kB / 1.238 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/1.225, allocations: 96.61 kB / 1.238 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/1.225, allocations: 29.7 kB / 1.238 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/1.225, allocations: 84.14 kB / 1.238 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/1.225, allocations: 11.59 kB / 1.238 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/1.225, allocations: 0 / 1.238 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.225, allocations: 320.4 kB / 1.239 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/1.225, allocations: 4 kB / 1.239 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/1.225, allocations: 21.16 kB / 1.239 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/1.225, allocations: 8 kB / 1.239 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.225, allocations: 0 / 1.239 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.952e-05/1.225, allocations: 45.31 kB / 1.239 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.225, allocations: 4 kB / 1.239 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.225, allocations: 288 / 1.239 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/1.225, allocations: 7.938 kB / 1.239 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/1.225, allocations: 7.984 kB / 1.239 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.225, allocations: 0 / 1.239 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/1.225, allocations: 0 / 1.239 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/1.225, allocations: 8.062 kB / 1.239 GB, free: 4.621 MB / 0.7448 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 () * Number of clocked 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 8.315e-05/1.225, allocations: 109.8 kB / 1.239 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/1.225, allocations: 15.39 kB / 1.239 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/1.225, allocations: 115.3 kB / 1.239 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.841e-05/1.226, allocations: 184.2 kB / 1.239 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.472e-05/1.226, allocations: 176.3 kB / 1.239 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001241/1.226, allocations: 187.8 kB / 1.24 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/1.226, allocations: 405.2 kB / 1.24 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.991e-05/1.226, allocations: 108.5 kB / 1.24 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/1.226, allocations: 112.8 kB / 1.24 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.013e-05/1.226, allocations: 180.3 kB / 1.24 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.736e-05/1.226, allocations: 184.2 kB / 1.24 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-05/1.226, allocations: 176.3 kB / 1.241 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.871e-05/1.226, allocations: 180.2 kB / 1.241 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/1.227, allocations: 311.2 kB / 1.241 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/1.227, allocations: 189.8 kB / 1.241 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/1.227, allocations: 180.3 kB / 1.241 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/1.227, allocations: 112.9 kB / 1.242 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/1.227, allocations: 180.3 kB / 1.242 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/1.227, allocations: 102.3 kB / 1.242 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.663e-05/1.227, allocations: 86.64 kB / 1.242 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.227, allocations: 7.938 kB / 1.242 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002857/1.227, allocations: 39.75 kB / 1.242 GB, free: 1.156 MB / 0.7448 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 () * Number of clocked 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.0003101/1.228, allocations: 226.4 kB / 1.242 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.885e-05/1.228, allocations: 4 kB / 1.242 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.228, allocations: 0 / 1.242 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/1.228, allocations: 0 / 1.242 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/1.228, allocations: 0.5314 MB / 1.243 GB, free: 400 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/1.229, allocations: 202.1 kB / 1.243 GB, free: 168 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/1.229, allocations: 0.6809 MB / 1.244 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.403e-05/1.229, allocations: 6.109 kB / 1.244 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/1.229, allocations: 7.438 kB / 1.244 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of SimCode: time 4.2e-07/1.229, allocations: 0 / 1.244 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of Templates: time 0.003366/1.232, allocations: 1.083 MB / 1.245 GB, free: 14.42 MB / 0.7605 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