Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.0009627/0.0009627, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001227/0.001227, allocations: 168.5 kB / 24.87 MB, free: 9.227 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.079/1.079, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.83/1.83, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 224 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.569e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1113/0.1113, allocations: 128.7 MB / 0.9139 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0001277/0.1115, allocations: 51.8 kB / 0.914 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.1115, allocations: 0 / 0.914 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.1116, allocations: 3.938 kB / 0.914 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.1117, allocations: 15.91 kB / 0.914 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.1124, allocations: 262.8 kB / 0.9142 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 6.983e-05/0.1124, allocations: 31.86 kB / 0.9143 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.247e-05/0.1125, allocations: 0 / 0.9143 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.1125, allocations: 27.91 kB / 0.9143 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.1126, allocations: 11.98 kB / 0.9143 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1126, allocations: 4 kB / 0.9143 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.1128, allocations: 183.4 kB / 0.9145 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.1129, allocations: 7.984 kB / 0.9145 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.1129, allocations: 8 kB / 0.9145 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1131, allocations: 179.5 kB / 0.9147 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1131, allocations: 0 / 0.9147 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.91e-07/0.1131, allocations: 4 kB / 0.9147 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.1131, allocations: 0 / 0.9147 GB, free: 10.38 MB / 0.8698 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.0003172/0.1135, allocations: 388 kB / 0.915 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1135, allocations: 8.031 kB / 0.915 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.1135, allocations: 9.281 kB / 0.9151 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.078e-05/0.1136, allocations: 112.6 kB / 0.9152 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/0.1137, allocations: 55.97 kB / 0.9152 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.1137, allocations: 384 / 0.9152 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.1138, allocations: 80.41 kB / 0.9153 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1138, allocations: 3.938 kB / 0.9153 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1138, allocations: 0 / 0.9153 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.1138, allocations: 4 kB / 0.9153 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.1138, allocations: 7.984 kB / 0.9153 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.1142, allocations: 284.4 kB / 0.9156 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.896e-05/0.1142, allocations: 27.06 kB / 0.9156 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.1142, allocations: 15.62 kB / 0.9156 GB, free: 9.273 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.1143, allocations: 35.98 kB / 0.9157 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1143, allocations: 37.38 kB / 0.9157 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.1143, allocations: 0 / 0.9157 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001049/0.1144, allocations: 29.7 kB / 0.9157 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.1144, allocations: 55.41 kB / 0.9158 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.1145, allocations: 157.9 kB / 0.9159 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.1145, allocations: 33.83 kB / 0.916 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.1146, allocations: 134.8 kB / 0.9161 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-06/0.1146, allocations: 7.953 kB / 0.9161 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.1146, allocations: 19.38 kB / 0.9161 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1147, allocations: 496.1 kB / 0.9166 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-06/0.1147, allocations: 0 / 0.9166 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.709e-05/0.1147, allocations: 23.31 kB / 0.9166 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.1147, allocations: 31.36 kB / 0.9166 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1147, allocations: 0 / 0.9166 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.146e-05/0.1148, allocations: 53.56 kB / 0.9167 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1148, allocations: 5.719 kB / 0.9167 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1148, allocations: 3.938 kB / 0.9167 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.1148, allocations: 0 / 0.9167 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.919e-05/0.1148, allocations: 8.281 kB / 0.9167 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.1148, allocations: 3.984 kB / 0.9167 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.1149, allocations: 7.938 kB / 0.9167 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1149, allocations: 4 kB / 0.9167 GB, free: 8.051 MB / 0.8698 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.625e-05/0.1149, allocations: 156.6 kB / 0.9169 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.1149, allocations: 8 kB / 0.9169 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.115, allocations: 171.6 kB / 0.917 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.053e-05/0.1151, allocations: 272.1 kB / 0.9173 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.497e-05/0.1151, allocations: 268 kB / 0.9176 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-05/0.1152, allocations: 268.1 kB / 0.9178 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.1154, allocations: 476.5 kB / 0.9183 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.589e-05/0.1154, allocations: 156.8 kB / 0.9184 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.1154, allocations: 145 kB / 0.9186 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.867e-05/0.1155, allocations: 272 kB / 0.9188 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.1156, allocations: 268 kB / 0.9191 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.753e-05/0.1156, allocations: 272.1 kB / 0.9193 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002047/0.1158, allocations: 272 kB / 0.9196 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.1159, allocations: 452 kB / 0.92 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.116, allocations: 144.9 kB / 0.9202 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.116, allocations: 279.9 kB / 0.9204 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.1161, allocations: 144.9 kB / 0.9206 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.1162, allocations: 264.1 kB / 0.9208 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.1162, allocations: 156.8 kB / 0.921 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.947e-05/0.1163, allocations: 127.2 kB / 0.9211 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1163, allocations: 0 / 0.9211 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000198/0.1164, allocations: 55.75 kB / 0.9211 GB, free: 3.34 MB / 0.8698 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.0002238/0.1167, allocations: 298.2 kB / 0.9214 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.29e-05/0.1167, allocations: 23.61 kB / 0.9214 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1167, allocations: 0 / 0.9214 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.1167, allocations: 8.062 kB / 0.9215 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.117, allocations: 0.7258 MB / 0.9222 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.1174, allocations: 231.9 kB / 0.9224 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.946e-05/0.1174, allocations: 55.36 kB / 0.9224 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.1174, allocations: 3.984 kB / 0.9224 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.1175, allocations: 90.17 kB / 0.9225 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of SimCode: time 6.01e-07/0.1175, allocations: 0 / 0.9225 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of Templates: time 0.002701/0.1202, allocations: 1.432 MB / 0.9239 GB, free: 440 kB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.284911511000246]