Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 197 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.137/3.137, allocations: 469.8 MB / 0.7419 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.78 kB / 0.9079 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3969, allocations: 159.2 MB / 1.063 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005259/0.4022, allocations: 3.339 MB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001133/0.4023, allocations: 51.8 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.4024, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.4025, allocations: 7.938 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.4026, allocations: 15.91 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.4031, allocations: 168.8 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.4032, allocations: 55.88 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.4033, allocations: 7.984 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.4033, allocations: 11.94 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.4034, allocations: 19.91 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.4034, allocations: 0 / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.4038, allocations: 167.6 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.4039, allocations: 12 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.4039, allocations: 15.91 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.4042, allocations: 136 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4042, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4042, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4043, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 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.0005165/0.4048, allocations: 345.2 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4048, allocations: 8.031 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.4049, allocations: 0.9375 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.405, allocations: 184.3 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.085e-05/0.4051, allocations: 30.2 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.4051, allocations: 384 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.4053, allocations: 45.62 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4053, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4053, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.4053, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.852e-05/0.4054, allocations: 19.98 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007518/0.4061, allocations: 0.5794 MB / 1.068 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.554e-05/0.4062, allocations: 22.52 kB / 1.068 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.4062, allocations: 8.922 kB / 1.068 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000345/0.4066, allocations: 340.4 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4066, allocations: 34.55 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.4066, allocations: 0 / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001679/0.4068, allocations: 41.7 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.4068, allocations: 55.34 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.4069, allocations: 105.8 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.407, allocations: 25.7 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.407, allocations: 84.05 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-06/0.407, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.4071, allocations: 21.62 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4072, allocations: 322.8 kB / 1.069 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.4073, allocations: 8 kB / 1.069 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.4073, allocations: 17.72 kB / 1.069 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.4073, allocations: 29.64 kB / 1.069 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4074, allocations: 0 / 1.069 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.626e-05/0.4074, allocations: 45.64 kB / 1.069 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4075, allocations: 6.094 kB / 1.069 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.4075, allocations: 8 kB / 1.069 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4075, allocations: 0 / 1.069 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.662e-05/0.4075, allocations: 7.984 kB / 1.069 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4076, allocations: 0 / 1.069 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.4076, allocations: 3.938 kB / 1.069 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.4076, allocations: 4 kB / 1.07 GB, free: 7.965 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.945e-05/0.4077, allocations: 121.7 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.4077, allocations: 4 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.4079, allocations: 122.8 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.032e-05/0.408, allocations: 176.3 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-05/0.4081, allocations: 180.2 kB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.682e-05/0.4081, allocations: 180.3 kB / 1.07 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.4085, allocations: 409.1 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.647e-05/0.4085, allocations: 105 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.4086, allocations: 112.9 kB / 1.071 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.605e-05/0.4087, allocations: 180.5 kB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.4089, allocations: 176.3 kB / 1.071 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001186/0.409, allocations: 180.2 kB / 1.071 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.161e-05/0.4091, allocations: 176.5 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.4093, allocations: 327.7 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.4094, allocations: 182 kB / 1.072 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.4096, allocations: 180.2 kB / 1.072 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.4097, allocations: 109 kB / 1.072 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4099, allocations: 192.2 kB / 1.072 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.4099, allocations: 101 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.444e-05/0.41, allocations: 91.27 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.41, allocations: 0 / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000324/0.4103, allocations: 36 kB / 1.073 GB, free: 4.48 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003744/0.4107, allocations: 234.3 kB / 1.073 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4108, allocations: 19.92 kB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4108, allocations: 0 / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.4109, allocations: 0 / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.4115, allocations: 0.5264 MB / 1.073 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.4119, allocations: 181.7 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.4123, allocations: 0.6692 MB / 1.074 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.169e-05/0.4124, allocations: 15.98 kB / 1.074 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.4124, allocations: 11.38 kB / 1.074 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.4124, allocations: 0 / 1.074 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of Templates: time 0.004456/0.4169, allocations: 1.189 MB / 1.075 GB, free: 1.617 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches