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.001682/0.001682, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001788/0.001788, allocations: 185.8 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.237/2.237, allocations: 222.9 MB / 241 MB, free: 15.08 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 4.205/4.205, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461/1.463, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.007897/1.471, allocations: 3.306 MB / 1.171 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001477/1.471, allocations: 51.86 kB / 1.171 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/1.471, allocations: 0 / 1.171 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/1.472, allocations: 3.938 kB / 1.171 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/1.472, allocations: 15.91 kB / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009038/1.473, allocations: 185 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/1.473, allocations: 35.84 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.2e-05/1.473, allocations: 4 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/1.473, allocations: 11.98 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/1.473, allocations: 19.91 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/1.473, allocations: 4 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005475/1.474, allocations: 167.6 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.844e-05/1.474, allocations: 7.969 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/1.474, allocations: 15.94 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000478/1.474, allocations: 132.3 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/1.474, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.376e-06/1.474, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.474, allocations: 0 / 1.171 GB, free: 15.91 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.0007049/1.475, allocations: 349.5 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/1.475, allocations: 16.86 kB / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/1.475, allocations: 0.9375 kB / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/1.475, allocations: 160.4 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.851e-05/1.476, allocations: 34.27 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/1.476, allocations: 384 / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/1.476, allocations: 53.55 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.476, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/1.476, allocations: 3.984 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/1.476, allocations: 4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/1.476, allocations: 8 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009405/1.477, allocations: 0.5911 MB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/1.477, allocations: 26.5 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/1.477, allocations: 4.859 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/1.477, allocations: 348.4 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.477, allocations: 30.56 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/1.477, allocations: 0 / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0002072/1.478, allocations: 29.7 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/1.478, allocations: 63.52 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.478, allocations: 97.86 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/1.478, allocations: 25.7 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/1.478, allocations: 92.03 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/1.478, allocations: 7.984 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/1.478, allocations: 17.67 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.478, allocations: 318.7 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/1.478, allocations: 8 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/1.478, allocations: 21.7 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/1.478, allocations: 17.72 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.478, allocations: 0 / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001069/1.478, allocations: 49.62 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.478, allocations: 4 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.478, allocations: 4 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.478, allocations: 4 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/1.478, allocations: 4 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/1.478, allocations: 4 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/1.478, allocations: 8 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/1.478, allocations: 0 / 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 0.0001079/1.479, allocations: 117.8 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/1.479, allocations: 0 / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/1.479, allocations: 124.9 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.56e-05/1.479, allocations: 180.2 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.679e-05/1.479, allocations: 188.2 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.638e-05/1.479, allocations: 176.3 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/1.479, allocations: 413.1 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.559e-05/1.479, allocations: 101 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/1.479, allocations: 105 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.53e-05/1.48, allocations: 180.2 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-05/1.48, allocations: 180.4 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-05/1.48, allocations: 188.2 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.778e-05/1.48, allocations: 180.3 kB / 1.176 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/1.48, allocations: 311.7 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.85e-05/1.48, allocations: 182.1 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.48, allocations: 188.2 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/1.48, allocations: 101 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/1.48, allocations: 188.5 kB / 1.176 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/1.481, allocations: 104.9 kB / 1.177 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.872e-05/1.481, allocations: 83.28 kB / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.481, allocations: 0 / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003765/1.481, allocations: 35.86 kB / 1.177 GB, free: 9.676 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.0003426/1.481, allocations: 248 kB / 1.177 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001072/1.481, allocations: 11.94 kB / 1.177 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.481, allocations: 3.938 kB / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/1.481, allocations: 0 / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006272/1.482, allocations: 473.3 kB / 1.177 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/1.482, allocations: 191.7 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/1.483, allocations: 0.6806 MB / 1.178 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/1.483, allocations: 11.44 kB / 1.178 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of SimCode: time 4.31e-07/1.483, allocations: 0 / 1.178 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of Templates: time 0.003455/1.486, allocations: 1.197 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