Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001166/0.001166, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001221/0.001221, allocations: 173 kB / 23.49 MB, free: 1.059 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.063/1.063, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.104/2.104, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.933e-05, allocations: 10.64 kB / 0.8781 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1322/0.1323, allocations: 130.9 MB / 1.006 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.1324, allocations: 55.73 kB / 1.006 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.1324, allocations: 4 kB / 1.006 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.873e-05/0.1325, allocations: 0 / 1.006 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.1326, allocations: 11.92 kB / 1.006 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.1332, allocations: 246.7 kB / 1.006 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.207e-05/0.1333, allocations: 39.84 kB / 1.006 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 2.909e-05/0.1333, allocations: 7.984 kB / 1.006 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.1333, allocations: 15.98 kB / 1.006 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.1334, allocations: 15.92 kB / 1.006 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1334, allocations: 0 / 1.006 GB, free: 2.953 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.1336, allocations: 175.4 kB / 1.007 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.1337, allocations: 11.98 kB / 1.007 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.1337, allocations: 7.984 kB / 1.007 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1339, allocations: 179.5 kB / 1.007 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1339, allocations: 0 / 1.007 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1339, allocations: 4 kB / 1.007 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.1339, allocations: 0 / 1.007 GB, free: 2.582 MB / 0.9636 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.0003222/0.1343, allocations: 388.3 kB / 1.007 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1343, allocations: 11.97 kB / 1.007 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1343, allocations: 4.938 kB / 1.007 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.479e-05/0.1344, allocations: 108.6 kB / 1.007 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.1344, allocations: 63.89 kB / 1.007 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.1345, allocations: 384 / 1.007 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1346, allocations: 80.41 kB / 1.007 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-06/0.1346, allocations: 0 / 1.007 GB, free: 1.852 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1346, allocations: 4 kB / 1.007 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.1346, allocations: 0 / 1.007 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.264e-05/0.1346, allocations: 12 kB / 1.007 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.135, allocations: 303.7 kB / 1.008 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.111e-05/0.135, allocations: 30.94 kB / 1.008 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.1351, allocations: 15.66 kB / 1.008 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.1351, allocations: 36.05 kB / 1.008 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.1351, allocations: 33.39 kB / 1.008 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1351, allocations: 0 / 1.008 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001033/0.1352, allocations: 49.58 kB / 1.008 GB, free: 1.309 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.1352, allocations: 51.41 kB / 1.008 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.1353, allocations: 157.9 kB / 1.008 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.1353, allocations: 25.7 kB / 1.008 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.1354, allocations: 138.8 kB / 1.008 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.1354, allocations: 4 kB / 1.008 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.1354, allocations: 19.38 kB / 1.008 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.1355, allocations: 492.1 kB / 1.009 GB, free: 388 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-06/0.1355, allocations: 8 kB / 1.009 GB, free: 380 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.733e-05/0.1355, allocations: 23.48 kB / 1.009 GB, free: 348 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/0.1355, allocations: 23.38 kB / 1.009 GB, free: 316 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1355, allocations: 3.938 kB / 1.009 GB, free: 312 kB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.697e-05/0.1356, allocations: 53.58 kB / 1.009 GB, free: 252 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.1356, allocations: 8 kB / 1.009 GB, free: 244 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1356, allocations: 0 / 1.009 GB, free: 244 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1356, allocations: 0 / 1.009 GB, free: 244 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.9e-05/0.1356, allocations: 8 kB / 1.009 GB, free: 236 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1356, allocations: 11.88 kB / 1.009 GB, free: 224 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.1357, allocations: 8 kB / 1.009 GB, free: 216 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1357, allocations: 0 / 1.009 GB, free: 216 kB / 0.9636 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.808e-05/0.1357, allocations: 168.5 kB / 1.009 GB, free: 36 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.1357, allocations: 0 / 1.009 GB, free: 36 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1358, allocations: 159.7 kB / 1.009 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-05/0.1359, allocations: 268 kB / 1.009 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.526e-05/0.136, allocations: 276.1 kB / 1.01 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-05/0.136, allocations: 264.1 kB / 1.01 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1362, allocations: 499.8 kB / 1.01 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.37e-05/0.1362, allocations: 160.8 kB / 1.01 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.1362, allocations: 153 kB / 1.011 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-05/0.1363, allocations: 268.1 kB / 1.011 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.1363, allocations: 264.1 kB / 1.011 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.235e-05/0.1364, allocations: 272 kB / 1.011 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-05/0.1364, allocations: 264.1 kB / 1.012 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.1365, allocations: 452 kB / 1.012 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.1366, allocations: 152.8 kB / 1.012 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.1366, allocations: 272 kB / 1.012 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.1367, allocations: 148.9 kB / 1.013 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.1368, allocations: 272 kB / 1.013 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.1368, allocations: 152.9 kB / 1.013 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.1369, allocations: 127.2 kB / 1.013 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1369, allocations: 0 / 1.013 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001824/0.137, allocations: 55.75 kB / 1.013 GB, free: 11.47 MB / 0.9792 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.0002331/0.1373, allocations: 302.3 kB / 1.014 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 6.378e-05/0.1373, allocations: 19.61 kB / 1.014 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1373, allocations: 4 kB / 1.014 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.1373, allocations: 4 kB / 1.014 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1376, allocations: 0.7182 MB / 1.014 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.138, allocations: 233 kB / 1.014 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.984e-05/0.138, allocations: 59.48 kB / 1.015 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.138, allocations: 8.266 kB / 1.015 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.1381, allocations: 8.5 kB / 1.015 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of SimCode: time 5.51e-07/0.1381, allocations: 0 / 1.015 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of Templates: time 0.002728/0.1408, allocations: 1.369 MB / 1.016 GB, free: 8.707 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.563870352925733]