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.007946/0.007947, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.002138/0.002138, allocations: 196 kB / 16.68 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.598/2.598, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64.09 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8555/0.8568, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005361/0.8622, allocations: 3.283 MB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001125/0.8624, allocations: 51.84 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.8624, allocations: 0 / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.8625, allocations: 3.938 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.001e-05/0.8626, allocations: 19.92 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.8633, allocations: 188.3 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.8634, allocations: 31.86 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.8635, allocations: 7.938 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.8635, allocations: 15.97 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.612e-05/0.8636, allocations: 15.94 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.8637, allocations: 0 / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.864, allocations: 179.5 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.8641, allocations: 8 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.8641, allocations: 11.92 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.8644, allocations: 127.3 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8644, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8644, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.8645, allocations: 4 kB / 1.17 GB, free: 15.88 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.0004596/0.8649, allocations: 348.3 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.865, allocations: 8.922 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.865, allocations: 0.9375 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.8652, allocations: 176.3 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-05/0.8653, allocations: 30.2 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.8653, allocations: 384 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.8654, allocations: 45.62 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.8655, allocations: 0 / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.8655, allocations: 0 / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.8655, allocations: 4 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.129e-05/0.8656, allocations: 15.98 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/0.8663, allocations: 0.5833 MB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/0.8663, allocations: 26.5 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.8663, allocations: 8.922 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.8666, allocations: 340.3 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.8666, allocations: 38.55 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.8666, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001438/0.8668, allocations: 37.7 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.8668, allocations: 55.34 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.8669, allocations: 101.8 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.8669, allocations: 29.7 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.867, allocations: 84.09 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.867, allocations: 4.125 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.867, allocations: 21.67 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.8672, allocations: 318.8 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.8672, allocations: 4 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.8672, allocations: 13.72 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.8673, allocations: 21.7 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.8673, allocations: 8 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.127e-05/0.8674, allocations: 45.64 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.8674, allocations: 4 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.8674, allocations: 3.938 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.8674, allocations: 4 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.8675, allocations: 11.98 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.8675, allocations: 3.938 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.8675, allocations: 0 / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.8675, allocations: 4 kB / 1.173 GB, free: 13.12 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 8.923e-05/0.8676, allocations: 121.8 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.8676, allocations: 4 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.8678, allocations: 114.9 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.575e-05/0.8678, allocations: 184.2 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.601e-05/0.8679, allocations: 180.3 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.927e-05/0.868, allocations: 184.3 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.8682, allocations: 409.1 kB / 1.174 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.281e-05/0.8683, allocations: 101 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.8683, allocations: 108.9 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-05/0.8684, allocations: 184.3 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.8685, allocations: 176.4 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-05/0.8686, allocations: 188.2 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.385e-05/0.8686, allocations: 176.3 kB / 1.175 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.8688, allocations: 315.6 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.8689, allocations: 182.1 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.869, allocations: 184.2 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.8692, allocations: 109 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.8693, allocations: 180.2 kB / 1.176 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.8693, allocations: 105 kB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.853e-05/0.8694, allocations: 87.27 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8694, allocations: 0 / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002857/0.8697, allocations: 35.88 kB / 1.176 GB, free: 9.645 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.0002857/0.87, allocations: 238.2 kB / 1.176 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.619e-05/0.8701, allocations: 23.92 kB / 1.176 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8701, allocations: 0 / 1.176 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.8701, allocations: 0 / 1.176 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.8706, allocations: 459.9 kB / 1.177 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.8709, allocations: 187.5 kB / 1.177 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.8711, allocations: 0.6729 MB / 1.177 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.526e-05/0.8712, allocations: 14.66 kB / 1.177 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.8712, allocations: 11.44 kB / 1.177 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.8712, allocations: 3.938 kB / 1.177 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of Templates: time 0.003763/0.875, allocations: 1.213 MB / 1.179 GB, free: 6.824 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/jenkins/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