Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.000967/0.000967, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001266/0.001266, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.519/2.519, allocations: 390.9 MB / 0.666 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004273, allocations: 12 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.76, allocations: 142.4 MB / 0.9544 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003841/0.7639, allocations: 2.888 MB / 0.9573 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001175/0.764, allocations: 51.7 kB / 0.9573 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.7641, allocations: 3.938 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.7642, allocations: 1.375 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.7643, allocations: 18.69 kB / 0.9573 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.7649, allocations: 131.9 kB / 0.9575 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.597e-05/0.765, allocations: 43.27 kB / 0.9575 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.765, allocations: 6.578 kB / 0.9575 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.368e-05/0.7651, allocations: 16.17 kB / 0.9575 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.7651, allocations: 10.97 kB / 0.9575 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.7652, allocations: 5.094 kB / 0.9575 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.7654, allocations: 96.66 kB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.7655, allocations: 2.844 kB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.7655, allocations: 27.92 kB / 0.9577 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.7657, allocations: 60.88 kB / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7657, allocations: 0 / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7657, allocations: 0 / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.7657, allocations: 0 / 0.9577 GB, free: 5.117 MB / 0.7169 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.0002915/0.766, allocations: 340 kB / 0.958 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.7661, allocations: 13.06 kB / 0.958 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.7661, allocations: 1.781 kB / 0.958 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.883e-05/0.7662, allocations: 164.8 kB / 0.9582 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.7662, allocations: 25.7 kB / 0.9582 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.7663, allocations: 1.812 kB / 0.9582 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.7664, allocations: 50.55 kB / 0.9583 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7664, allocations: 0 / 0.9583 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.7664, allocations: 9.672 kB / 0.9583 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.7664, allocations: 0 / 0.9583 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.7665, allocations: 28.88 kB / 0.9583 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.767, allocations: 0.5735 MB / 0.9589 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.747e-05/0.767, allocations: 17.2 kB / 0.9589 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.767, allocations: 16.75 kB / 0.9589 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.7672, allocations: 338.5 kB / 0.9592 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.7672, allocations: 39.64 kB / 0.9593 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.7672, allocations: 0 / 0.9593 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000132/0.7674, allocations: 35.73 kB / 0.9593 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.7674, allocations: 52.5 kB / 0.9594 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.7675, allocations: 107.3 kB / 0.9595 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-06/0.7675, allocations: 25.7 kB / 0.9595 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.7675, allocations: 85.42 kB / 0.9596 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-06/0.7675, allocations: 5.375 kB / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.7675, allocations: 128 / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.7676, allocations: 319.5 kB / 0.9599 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.7676, allocations: 7.078 kB / 0.9599 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.052e-05/0.7676, allocations: 17.34 kB / 0.9599 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.902e-05/0.7676, allocations: 3.844 kB / 0.9599 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7676, allocations: 0 / 0.9599 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.184e-05/0.7677, allocations: 54.58 kB / 0.96 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7677, allocations: 9.406 kB / 0.96 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.7677, allocations: 1.094 kB / 0.96 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.7678, allocations: 0 / 0.96 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.257e-05/0.7678, allocations: 9.781 kB / 0.96 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7678, allocations: 0 / 0.96 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.7678, allocations: 1.812 kB / 0.96 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.7679, allocations: 5.703 kB / 0.96 GB, free: 2.566 MB / 0.7169 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 5.171e-05/0.7679, allocations: 115.1 kB / 0.9601 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.7679, allocations: 9.203 kB / 0.9601 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.101e-05/0.768, allocations: 126.6 kB / 0.9602 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.7681, allocations: 180.2 kB / 0.9604 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.994e-05/0.7681, allocations: 177.5 kB / 0.9606 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/0.7681, allocations: 185.7 kB / 0.9607 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.7683, allocations: 404.6 kB / 0.9611 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.7683, allocations: 104.9 kB / 0.9612 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.705e-05/0.7683, allocations: 106.2 kB / 0.9613 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-05/0.7684, allocations: 177.9 kB / 0.9615 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.7684, allocations: 193.5 kB / 0.9617 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-05/0.7684, allocations: 176.3 kB / 0.9618 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.478e-05/0.7684, allocations: 185.5 kB / 0.962 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.708e-05/0.7685, allocations: 299.6 kB / 0.9623 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.7686, allocations: 188.6 kB / 0.9625 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.7687, allocations: 181.7 kB / 0.9627 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.7688, allocations: 123.5 kB / 0.9628 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.7689, allocations: 177.2 kB / 0.9629 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.769, allocations: 102.5 kB / 0.963 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.769, allocations: 87.67 kB / 0.9631 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.769, allocations: 1.188 kB / 0.9631 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002796/0.7693, allocations: 37.12 kB / 0.9632 GB, free: 15.14 MB / 0.7325 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.0002535/0.7696, allocations: 223.3 kB / 0.9634 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.626e-05/0.7696, allocations: 9.469 kB / 0.9634 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.7696, allocations: 0 / 0.9634 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.7697, allocations: 1.469 kB / 0.9634 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.7701, allocations: 0.5251 MB / 0.9639 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.7703, allocations: 193.8 kB / 0.9641 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.7706, allocations: 0.6766 MB / 0.9647 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.444e-05/0.7706, allocations: 9.969 kB / 0.9648 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.7707, allocations: 9.438 kB / 0.9648 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.7707, allocations: 0 / 0.9648 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.003535/0.7742, allocations: 1.135 MB / 0.9659 GB, free: 12.93 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches