Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001561/0.001561, allocations: 108.9 kB / 16.41 MB, free: 6.496 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.001772/0.001772, allocations: 187 kB / 17.34 MB, free: 5.766 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 59.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.841/0.8424, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005162/0.8476, allocations: 3.302 MB / 1.171 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000107/0.8477, allocations: 47.86 kB / 1.171 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.8477, allocations: 0 / 1.171 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.8478, allocations: 7.922 kB / 1.171 GB, free: 500 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.025e-05/0.8479, allocations: 4 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.8485, allocations: 205 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.191e-05/0.8486, allocations: 27.86 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.8487, allocations: 4 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.8487, allocations: 19.97 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.8488, allocations: 8 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.8488, allocations: 0 / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.8492, allocations: 183.5 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.8492, allocations: 7.984 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.8493, allocations: 8 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.8495, allocations: 139.5 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.8496, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8496, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.8496, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 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.0004078/0.85, allocations: 341.4 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.85, allocations: 12.92 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.8501, allocations: 8.844 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.8502, allocations: 160.4 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.8503, allocations: 30.27 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.8503, allocations: 384 / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.8504, allocations: 53.56 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.8504, allocations: 3.984 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.8505, allocations: 4 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.8505, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.692e-05/0.8505, allocations: 15.98 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007657/0.8513, allocations: 0.591 MB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.435e-05/0.8513, allocations: 18.52 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.8514, allocations: 8.859 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003455/0.8517, allocations: 344.5 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.8518, allocations: 30.56 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.8518, allocations: 4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001609/0.8519, allocations: 37.7 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.852, allocations: 51.41 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.433e-05/0.8521, allocations: 101.8 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.8521, allocations: 25.7 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.8523, allocations: 92.05 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.361e-06/0.8523, allocations: 7.844 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.8523, allocations: 17.83 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8524, allocations: 322.8 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.8525, allocations: 4 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.8525, allocations: 17.7 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.8525, allocations: 17.72 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8525, allocations: 0 / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.245e-05/0.8526, allocations: 57.62 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.8527, allocations: 4 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.8527, allocations: 0 / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.8527, allocations: 0 / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.898e-05/0.8527, allocations: 8 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.8528, allocations: 0 / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.8528, allocations: 0 / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.8528, allocations: 4 kB / 1.173 GB, free: 13.16 MB / 0.9044 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 7.783e-05/0.8529, allocations: 113.8 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.8529, allocations: 4.062 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.853, allocations: 120.9 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-05/0.8531, allocations: 176.3 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.076e-05/0.8532, allocations: 192.2 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.299e-05/0.8533, allocations: 176.3 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.8535, allocations: 421 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-05/0.8536, allocations: 101 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.8536, allocations: 101 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.332e-05/0.8537, allocations: 180.2 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-05/0.8538, allocations: 184.4 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.485e-05/0.8539, allocations: 188.2 kB / 1.175 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.629e-05/0.8539, allocations: 180.3 kB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.8541, allocations: 311.6 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/0.8542, allocations: 186.1 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.536e-05/0.8543, allocations: 180.2 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.8545, allocations: 116.9 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.8546, allocations: 176.3 kB / 1.176 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.8547, allocations: 109.2 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.476e-05/0.8548, allocations: 83.28 kB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8548, allocations: 4 kB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003435/0.8552, allocations: 35.94 kB / 1.177 GB, free: 9.664 MB / 0.9044 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.0003781/0.8556, allocations: 238.4 kB / 1.177 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.8556, allocations: 8 kB / 1.177 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8557, allocations: 3.938 kB / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.8557, allocations: 4.125 kB / 1.177 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.8563, allocations: 464.8 kB / 1.177 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.8567, allocations: 207.7 kB / 1.178 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.8571, allocations: 0.6768 MB / 1.178 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.8571, allocations: 11.44 kB / 1.178 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of SimCode: time 5.41e-07/0.8571, allocations: 0 / 1.178 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of Templates: time 0.003185/0.8603, allocations: 1.192 MB / 1.179 GB, free: 6.82 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches