Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008447/0.008447, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.002054/0.002054, allocations: 194.8 kB / 16.67 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 60.12 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3394, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00576/0.3452, allocations: 3.283 MB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.3454, allocations: 59.84 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.3454, allocations: 0 / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.3455, allocations: 7.875 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.3457, allocations: 11.92 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.3463, allocations: 191.2 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.385e-05/0.3464, allocations: 27.92 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.3465, allocations: 3.984 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.3466, allocations: 15.98 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.3466, allocations: 15.88 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.3467, allocations: 4 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.347, allocations: 171.5 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.879e-05/0.3471, allocations: 4 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.3471, allocations: 7.984 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.3474, allocations: 143.7 kB / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3474, allocations: 0 / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3474, allocations: 0 / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3474, allocations: 0 / 1.212 GB, free: 5.66 MB / 0.9669 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.000398/0.3478, allocations: 351.4 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3479, allocations: 8.625 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3479, allocations: 4.938 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.348, allocations: 168.4 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.3481, allocations: 26.27 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.3481, allocations: 8.312 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3483, allocations: 45.62 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.3483, allocations: 0 / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3483, allocations: 0 / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3483, allocations: 4 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.842e-05/0.3484, allocations: 11.98 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.349, allocations: 0.5872 MB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.838e-05/0.349, allocations: 18.58 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.3491, allocations: 4.859 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.3493, allocations: 340.5 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.3494, allocations: 38.55 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3494, allocations: 0 / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.3495, allocations: 41.62 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.3496, allocations: 51.41 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.3497, allocations: 105.8 kB / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3497, allocations: 25.7 kB / 1.213 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.3497, allocations: 88.03 kB / 1.213 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.3497, allocations: 7.906 kB / 1.213 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.3498, allocations: 17.72 kB / 1.213 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3499, allocations: 318.9 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.3499, allocations: 4 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.35, allocations: 17.72 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.35, allocations: 29.58 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.35, allocations: 0 / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.278e-05/0.3501, allocations: 41.7 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3501, allocations: 12.06 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3502, allocations: 0 / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3502, allocations: 3.984 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.417e-05/0.3502, allocations: 7.938 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3502, allocations: 0 / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.3503, allocations: 11.88 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3503, allocations: 4 kB / 1.214 GB, free: 2.906 MB / 0.9669 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 0.0001289/0.3504, allocations: 113.8 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3504, allocations: 0 / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.3506, allocations: 131.4 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.639e-05/0.3507, allocations: 184.2 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001167/0.3508, allocations: 176.3 kB / 1.214 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.704e-05/0.3509, allocations: 188.2 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.3512, allocations: 405.2 kB / 1.215 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.956e-05/0.3513, allocations: 113 kB / 1.215 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.3513, allocations: 104.9 kB / 1.215 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.3514, allocations: 176.3 kB / 1.215 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-05/0.3515, allocations: 180.2 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.77e-05/0.3516, allocations: 180.3 kB / 1.216 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-05/0.3517, allocations: 180.3 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.3519, allocations: 315.7 kB / 1.216 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.3519, allocations: 182 kB / 1.216 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/0.352, allocations: 184.3 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.3522, allocations: 104.9 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.3523, allocations: 188.2 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.3523, allocations: 101 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.3524, allocations: 87.27 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3524, allocations: 0 / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000316/0.3527, allocations: 32 kB / 1.217 GB, free: 15.44 MB / 0.9825 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.0002903/0.353, allocations: 238.4 kB / 1.217 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.693e-05/0.3531, allocations: 11.92 kB / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3531, allocations: 0 / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.3531, allocations: 0 / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.3535, allocations: 463.8 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.3538, allocations: 185.8 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3541, allocations: 0.6729 MB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.309e-05/0.3542, allocations: 14.66 kB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/0.3542, allocations: 11.38 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3542, allocations: 0 / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.003874/0.3581, allocations: 1.21 MB / 1.22 GB, free: 12.64 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches