Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.898/2.898, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.272e-05, allocations: 5.984 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.007821/0.007854, allocations: 3.226 MB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001615/0.008016, allocations: 55.73 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.008049, allocations: 1.188 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.008191, allocations: 3.938 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.008294, allocations: 11.92 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008816/0.009176, allocations: 199.4 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.009311, allocations: 39.84 kB / 0.8143 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.009352, allocations: 0 / 0.8143 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.009438, allocations: 19.98 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.848e-05/0.009536, allocations: 11.97 kB / 0.8143 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.009558, allocations: 7.938 kB / 0.8143 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.01, allocations: 128.2 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.01007, allocations: 12.52 kB / 0.8144 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.01011, allocations: 7.938 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.01051, allocations: 129.4 kB / 0.8146 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01051, allocations: 0 / 0.8146 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01051, allocations: 0 / 0.8146 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.01052, allocations: 3.938 kB / 0.8146 GB, free: 14.26 MB / 0.7761 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.0005937/0.01111, allocations: 270.9 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.01116, allocations: 8.031 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.01122, allocations: 5.969 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.01138, allocations: 109.7 kB / 0.8149 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.01148, allocations: 57.12 kB / 0.815 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.01149, allocations: 384 / 0.815 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.01171, allocations: 75.94 kB / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.01171, allocations: 1.562 kB / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.01173, allocations: 3.938 kB / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.01175, allocations: 0 / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.024e-05/0.01182, allocations: 15.98 kB / 0.8151 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.01248, allocations: 245.6 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.576e-05/0.01254, allocations: 14.58 kB / 0.8153 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.01257, allocations: 17.61 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.01272, allocations: 31.97 kB / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.01276, allocations: 31.16 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.306e-06/0.01277, allocations: 4.828 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0002031/0.01297, allocations: 41.64 kB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.01302, allocations: 53.38 kB / 0.8155 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.01316, allocations: 105.8 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.01319, allocations: 25.7 kB / 0.8156 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.01327, allocations: 88.08 kB / 0.8157 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.01328, allocations: 7.891 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.01334, allocations: 26.3 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.01356, allocations: 310.8 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.01358, allocations: 6.438 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.01362, allocations: 13.72 kB / 0.8161 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.698e-05/0.01369, allocations: 29.64 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01369, allocations: 0 / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001303/0.01382, allocations: 47.48 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.01384, allocations: 11.98 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01385, allocations: 0 / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.01387, allocations: 3.938 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.01392, allocations: 4.531 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.01393, allocations: 4 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.01396, allocations: 0.5625 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.01397, allocations: 1.344 kB / 0.8162 GB, free: 12.44 MB / 0.7761 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.0001249/0.01409, allocations: 113.8 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.01414, allocations: 3.938 kB / 0.8163 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.01432, allocations: 121.7 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/0.01445, allocations: 184.9 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001333/0.01458, allocations: 184.3 kB / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001243/0.01471, allocations: 183.9 kB / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.01508, allocations: 352.9 kB / 0.8173 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003118/0.01539, allocations: 105 kB / 0.8174 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.193e-05/0.01547, allocations: 108.9 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.0156, allocations: 184.2 kB / 0.8176 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.01573, allocations: 180.2 kB / 0.8178 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001203/0.01585, allocations: 180.3 kB / 0.818 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001277/0.01598, allocations: 176.3 kB / 0.8181 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.01628, allocations: 315.8 kB / 0.8184 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/0.01638, allocations: 112.9 kB / 0.8186 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.01653, allocations: 182.2 kB / 0.8187 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.01678, allocations: 105 kB / 0.8188 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.01691, allocations: 184.2 kB / 0.819 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/0.01698, allocations: 101 kB / 0.8191 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.289e-05/0.01707, allocations: 83.28 kB / 0.8192 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01707, allocations: 0.9688 kB / 0.8192 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004969/0.01757, allocations: 39.86 kB / 0.8192 GB, free: 9.129 MB / 0.7761 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.0004274/0.018, allocations: 239.4 kB / 0.8194 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.745e-05/0.01809, allocations: 16.73 kB / 0.8195 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.0181, allocations: 0.5938 kB / 0.8195 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/0.0181, allocations: 4 kB / 0.8195 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/0.01886, allocations: 463.1 kB / 0.8199 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.01928, allocations: 187.8 kB / 0.8201 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.642e-05/0.01937, allocations: 57.2 kB / 0.8201 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.205e-05/0.01944, allocations: 7.984 kB / 0.8201 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.01947, allocations: 14.94 kB / 0.8202 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01947, allocations: 0 / 0.8202 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of Templates: time 0.007146/0.02662, allocations: 1.299 MB / 0.8214 GB, free: 6.875 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8480761089595035]