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.001496/0.001496, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001519/0.001519, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9689/0.9689, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.47/2.47, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.342e-06/1.342e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.636e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1334/0.1335, allocations: 130.7 MB / 0.9662 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001451/0.1336, allocations: 47.81 kB / 0.9662 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.1336, allocations: 0 / 0.9662 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.1338, allocations: 7.938 kB / 0.9662 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.123e-05/0.1338, allocations: 11.91 kB / 0.9663 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.1346, allocations: 270.7 kB / 0.9665 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.1347, allocations: 35.83 kB / 0.9665 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.1347, allocations: 0 / 0.9665 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.1347, allocations: 19.98 kB / 0.9666 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.1348, allocations: 19.91 kB / 0.9666 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1348, allocations: 0 / 0.9666 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.1352, allocations: 187.4 kB / 0.9668 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.1353, allocations: 11.98 kB / 0.9668 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.1353, allocations: 7.984 kB / 0.9668 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.1356, allocations: 175.5 kB / 0.9669 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.1356, allocations: 4 kB / 0.967 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1356, allocations: 0 / 0.967 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.1356, allocations: 0 / 0.967 GB, free: 10.23 MB / 0.9323 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.0003351/0.1359, allocations: 256.3 kB / 0.9672 GB, free: 9.953 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.136, allocations: 8.625 kB / 0.9672 GB, free: 9.945 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.136, allocations: 8.922 kB / 0.9672 GB, free: 9.938 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.671e-05/0.1361, allocations: 113.7 kB / 0.9673 GB, free: 9.801 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.1361, allocations: 55.97 kB / 0.9674 GB, free: 9.734 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.1361, allocations: 384 / 0.9674 GB, free: 9.734 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1363, allocations: 87.22 kB / 0.9675 GB, free: 9.633 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1363, allocations: 3.938 kB / 0.9675 GB, free: 9.629 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.1363, allocations: 7.938 kB / 0.9675 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.1363, allocations: 0 / 0.9675 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.1363, allocations: 7.984 kB / 0.9675 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.1368, allocations: 210 kB / 0.9677 GB, free: 9.391 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.465e-05/0.1368, allocations: 14.58 kB / 0.9677 GB, free: 9.367 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.105e-05/0.1368, allocations: 4.859 kB / 0.9677 GB, free: 9.359 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.857e-05/0.1368, allocations: 39.91 kB / 0.9677 GB, free: 9.32 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1369, allocations: 30.56 kB / 0.9678 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1369, allocations: 0 / 0.9678 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 9.208e-05/0.137, allocations: 37.69 kB / 0.9678 GB, free: 9.238 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.137, allocations: 55.41 kB / 0.9679 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.456e-05/0.137, allocations: 106.7 kB / 0.968 GB, free: 9.055 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.137, allocations: 25.7 kB / 0.968 GB, free: 9.023 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.1371, allocations: 96.2 kB / 0.9681 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-06/0.1371, allocations: 0 / 0.9681 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.1371, allocations: 13.72 kB / 0.9681 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.1372, allocations: 310.8 kB / 0.9684 GB, free: 8.594 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-06/0.1372, allocations: 7.984 kB / 0.9684 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.1372, allocations: 17.66 kB / 0.9684 GB, free: 8.562 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/0.1372, allocations: 20.58 kB / 0.9684 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1372, allocations: 0 / 0.9684 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.789e-05/0.1373, allocations: 49.56 kB / 0.9685 GB, free: 8.48 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1373, allocations: 8 kB / 0.9685 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1373, allocations: 288 / 0.9685 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1373, allocations: 0 / 0.9685 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.1373, allocations: 7.984 kB / 0.9685 GB, free: 8.465 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1373, allocations: 4 kB / 0.9685 GB, free: 8.461 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.1374, allocations: 3.938 kB / 0.9685 GB, free: 8.457 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1374, allocations: 3.984 kB / 0.9685 GB, free: 8.453 MB / 0.9323 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.268e-05/0.1374, allocations: 116.7 kB / 0.9686 GB, free: 8.328 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.1374, allocations: 7.922 kB / 0.9686 GB, free: 8.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.767e-05/0.1375, allocations: 133 kB / 0.9687 GB, free: 8.184 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.804e-05/0.1376, allocations: 176.3 kB / 0.9689 GB, free: 8.004 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.702e-05/0.1376, allocations: 188.1 kB / 0.9691 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.115e-05/0.1376, allocations: 176.3 kB / 0.9693 GB, free: 7.633 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.1378, allocations: 321.4 kB / 0.9696 GB, free: 7.293 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.004e-05/0.1378, allocations: 104.9 kB / 0.9697 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.1378, allocations: 109 kB / 0.9698 GB, free: 7.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.162e-05/0.1379, allocations: 184.2 kB / 0.9699 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.1379, allocations: 180.2 kB / 0.9701 GB, free: 6.699 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-05/0.1379, allocations: 184.2 kB / 0.9703 GB, free: 6.512 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.143e-05/0.138, allocations: 184.2 kB / 0.9705 GB, free: 6.324 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.1383, allocations: 299.8 kB / 0.9708 GB, free: 6.008 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.1383, allocations: 117 kB / 0.9709 GB, free: 5.887 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.1384, allocations: 184.1 kB / 0.971 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/0.1385, allocations: 109 kB / 0.9711 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.1385, allocations: 180.2 kB / 0.9713 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.1385, allocations: 108.9 kB / 0.9714 GB, free: 5.289 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 1.664e-05/0.1385, allocations: 8.859 kB / 0.9714 GB, free: 5.277 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1385, allocations: 0 / 0.9714 GB, free: 5.277 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002159/0.1388, allocations: 59.73 kB / 0.9715 GB, free: 5.219 MB / 0.9323 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.00024/0.139, allocations: 231.4 kB / 0.9717 GB, free: 4.984 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 5.111e-05/0.1391, allocations: 8.859 kB / 0.9717 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.1391, allocations: 4 kB / 0.9717 GB, free: 4.969 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.1391, allocations: 7.938 kB / 0.9717 GB, free: 4.961 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.1393, allocations: 469.7 kB / 0.9722 GB, free: 4.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.1397, allocations: 186.9 kB / 0.9724 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.1397, allocations: 51.36 kB / 0.9724 GB, free: 4.223 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.1397, allocations: 4 kB / 0.9724 GB, free: 4.219 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.1398, allocations: 67.34 kB / 0.9725 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of SimCode: time 1.573e-06/0.1398, allocations: 4 kB / 0.9725 GB, free: 4.148 MB / 0.9323 GB Notification: Performance of Templates: time 0.003168/0.143, allocations: 1.438 MB / 0.9739 GB, free: 2.723 MB / 0.9323 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 -s gbode -gbm=radauIIA3 -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.489502172917128]