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.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.001893/0.001893, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002335/0.002335, allocations: 156 kB / 23.01 MB, free: 4.602 MB / 14.72 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.473/1.473, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.888/2.888, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 75.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9467/0.9488, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004062/0.9529, allocations: 3.226 MB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 8.79e-05/0.953, allocations: 54.52 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.953, allocations: 1.031 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.105e-05/0.9531, allocations: 5.438 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.168e-05/0.9531, allocations: 9.766 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.9536, allocations: 198.6 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.602e-05/0.9537, allocations: 32.83 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.9538, allocations: 2.156 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.9538, allocations: 16.42 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.9539, allocations: 13.08 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.9539, allocations: 1.219 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.9542, allocations: 134.8 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.9542, allocations: 8.938 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.9543, allocations: 13.73 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.9545, allocations: 121 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9545, allocations: 0 / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9545, allocations: 1.312 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.9545, allocations: 0 / 1.19 GB, free: 13.73 MB / 1.076 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.0003428/0.9549, allocations: 268.3 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.9549, allocations: 9.938 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.955, allocations: 3.016 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.685e-05/0.9551, allocations: 108.5 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.9551, allocations: 66.98 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.9551, allocations: 5.656 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.9553, allocations: 68.31 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.9553, allocations: 4.906 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9553, allocations: 0.5156 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.9553, allocations: 1.969 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.246e-05/0.9554, allocations: 17.27 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.9558, allocations: 239.9 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.378e-05/0.9558, allocations: 21.77 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.165e-05/0.9559, allocations: 6.875 kB / 1.191 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.971e-05/0.956, allocations: 42.03 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.956, allocations: 33.86 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.956, allocations: 0 / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.9561, allocations: 32.58 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.9562, allocations: 57.11 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.9562, allocations: 106.9 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.9562, allocations: 25.7 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.9563, allocations: 87.11 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.293e-06/0.9563, allocations: 4.75 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.9563, allocations: 19.12 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.9564, allocations: 321.9 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.9564, allocations: 3.016 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.9564, allocations: 19.27 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.9564, allocations: 17.56 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.9564, allocations: 1.125 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.087e-05/0.9565, allocations: 48.67 kB / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.9565, allocations: 7.641 kB / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.9565, allocations: 0 / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.9565, allocations: 5.188 kB / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.9566, allocations: 5.969 kB / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9566, allocations: 1.125 kB / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.9566, allocations: 1.156 kB / 1.192 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.9566, allocations: 3.031 kB / 1.192 GB, free: 12.13 MB / 1.076 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 5.482e-05/0.9567, allocations: 120.7 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.9567, allocations: 1.859 kB / 1.192 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.246e-05/0.9568, allocations: 118.5 kB / 1.192 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/0.9568, allocations: 186.1 kB / 1.192 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-05/0.9569, allocations: 187.1 kB / 1.193 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.109e-05/0.9569, allocations: 181.8 kB / 1.193 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.957, allocations: 363.1 kB / 1.193 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/0.957, allocations: 106.7 kB / 1.193 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.9571, allocations: 106.9 kB / 1.193 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.639e-05/0.9571, allocations: 179.1 kB / 1.193 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.9571, allocations: 182 kB / 1.194 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.774e-05/0.9571, allocations: 182 kB / 1.194 GB, free: 10.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-05/0.9572, allocations: 178.3 kB / 1.194 GB, free: 9.992 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.954e-05/0.9572, allocations: 311.2 kB / 1.194 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.9573, allocations: 103.8 kB / 1.194 GB, free: 9.566 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.9573, allocations: 188.2 kB / 1.195 GB, free: 9.379 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.9575, allocations: 113.8 kB / 1.195 GB, free: 9.266 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.9575, allocations: 181.9 kB / 1.195 GB, free: 9.082 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.9575, allocations: 103.5 kB / 1.195 GB, free: 8.977 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.9575, allocations: 85.55 kB / 1.195 GB, free: 8.898 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9575, allocations: 0 / 1.195 GB, free: 8.898 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003065/0.9578, allocations: 37.64 kB / 1.195 GB, free: 8.887 MB / 1.076 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.0002396/0.9581, allocations: 235.2 kB / 1.195 GB, free: 8.703 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.371e-05/0.9582, allocations: 11.45 kB / 1.195 GB, free: 8.699 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9582, allocations: 4.875 kB / 1.195 GB, free: 8.695 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.9582, allocations: 0 / 1.195 GB, free: 8.695 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.9586, allocations: 465.4 kB / 1.196 GB, free: 8.242 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.9588, allocations: 189.4 kB / 1.196 GB, free: 8.055 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.102e-05/0.9589, allocations: 57.88 kB / 1.196 GB, free: 7.984 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.952e-05/0.9589, allocations: 5.344 kB / 1.196 GB, free: 7.984 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.9589, allocations: 14.23 kB / 1.196 GB, free: 7.973 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/0.9589, allocations: 1.25 kB / 1.196 GB, free: 7.973 MB / 1.076 GB Notification: Performance of Templates: time 0.004541/0.9635, allocations: 1.242 MB / 1.197 GB, free: 7.773 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.917262095026672]