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.001868/0.001868, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002224/0.002225, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.872/2.872, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7158/0.7178, allocations: 151.6 MB / 1.017 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006294/0.7242, allocations: 3.349 MB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.7244, allocations: 47.88 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.7244, allocations: 0 / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.7246, allocations: 4 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.7247, allocations: 11.91 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007577/0.7255, allocations: 179.3 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.7256, allocations: 39.84 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.7257, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.7257, allocations: 8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.382e-05/0.7258, allocations: 23.91 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.7259, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.7263, allocations: 179.5 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.7264, allocations: 7.984 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.7264, allocations: 7.984 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.7268, allocations: 141.8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7268, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7268, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7269, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 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.0006417/0.7275, allocations: 347.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.7276, allocations: 12.03 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.7276, allocations: 0.9375 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.7278, allocations: 164.4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.7279, allocations: 30.27 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.7279, allocations: 4.359 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.7281, allocations: 49.56 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7281, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7281, allocations: 3.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.7282, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.241e-05/0.7282, allocations: 15.92 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.7291, allocations: 0.5949 MB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.901e-05/0.7291, allocations: 18.58 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.7292, allocations: 4.859 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/0.7294, allocations: 348.5 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.7295, allocations: 30.56 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.7295, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001617/0.7297, allocations: 33.64 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.7297, allocations: 55.41 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.7298, allocations: 105.8 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.7298, allocations: 25.7 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.7299, allocations: 88.05 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.7299, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.73, allocations: 17.7 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7301, allocations: 318.9 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.7301, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.7302, allocations: 21.7 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.7302, allocations: 21.66 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7302, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.099e-05/0.7303, allocations: 45.75 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.7303, allocations: 8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.7304, allocations: 3.938 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7304, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.7304, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7304, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.7305, allocations: 7.906 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.7305, allocations: 3.938 kB / 1.023 GB, free: 12.13 MB / 0.7794 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 9.449e-05/0.7306, allocations: 113.8 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.7306, allocations: 3.984 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.7308, allocations: 117 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.175e-05/0.7309, allocations: 184.2 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.053e-05/0.731, allocations: 180.3 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-05/0.7311, allocations: 188.2 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.7314, allocations: 413.2 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.022e-05/0.7314, allocations: 105 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.7315, allocations: 104.9 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.581e-05/0.7316, allocations: 176.3 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/0.7317, allocations: 180.2 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.285e-05/0.7318, allocations: 184.2 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.764e-05/0.7319, allocations: 184.5 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.7321, allocations: 307.7 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.7322, allocations: 186 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.7323, allocations: 188.2 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.7325, allocations: 108.9 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/0.7326, allocations: 180.3 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.7326, allocations: 105.3 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.7327, allocations: 83.28 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7327, allocations: 0 / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002988/0.733, allocations: 31.94 kB / 1.026 GB, free: 8.656 MB / 0.7794 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.0003257/0.7333, allocations: 246.9 kB / 1.026 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.756e-05/0.7334, allocations: 8 kB / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7334, allocations: 0 / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.7334, allocations: 128 / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.734, allocations: 463.7 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.7343, allocations: 189.7 kB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.7346, allocations: 0.6806 MB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.537e-05/0.7347, allocations: 9.688 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.7347, allocations: 7.438 kB / 1.028 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.7347, allocations: 4 kB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of Templates: time 0.004512/0.7392, allocations: 1.198 MB / 1.029 GB, free: 5.855 MB / 0.7794 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=400 -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