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.00104/0.00104, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.00101/0.00101, allocations: 173 kB / 23.02 MB, free: 1.547 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.9476/0.9476, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 1.974/1.974, allocations: 429.5 MB / 0.6732 GB, free: 4.012 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.633e-06/1.633e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.668e-05, allocations: 2.969 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1308/0.1308, allocations: 131.1 MB / 1.006 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001675/0.131, allocations: 51.81 kB / 1.006 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.131, allocations: 0 / 1.006 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.1312, allocations: 0 / 1.006 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.1313, allocations: 19.84 kB / 1.006 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.1322, allocations: 258.8 kB / 1.007 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.1323, allocations: 39.84 kB / 1.007 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.1323, allocations: 0 / 1.007 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.1324, allocations: 19.98 kB / 1.007 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1325, allocations: 11.97 kB / 1.007 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1325, allocations: 4 kB / 1.007 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.133, allocations: 179.4 kB / 1.007 GB, free: 2.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.133, allocations: 7.938 kB / 1.007 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.1331, allocations: 8 kB / 1.007 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.1334, allocations: 183.5 kB / 1.007 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1334, allocations: 3.938 kB / 1.007 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1334, allocations: 0 / 1.007 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.1334, allocations: 0 / 1.007 GB, free: 1.961 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.0003943/0.1338, allocations: 388.3 kB / 1.007 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1338, allocations: 12.03 kB / 1.007 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.1339, allocations: 4.922 kB / 1.007 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.134, allocations: 108.6 kB / 1.007 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.1341, allocations: 55.97 kB / 1.008 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1341, allocations: 4.375 kB / 1.008 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1342, allocations: 80.41 kB / 1.008 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1342, allocations: 0 / 1.008 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1342, allocations: 4 kB / 1.008 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.1342, allocations: 0 / 1.008 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.1343, allocations: 11.92 kB / 1.008 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.1348, allocations: 315.7 kB / 1.008 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.186e-05/0.1348, allocations: 31 kB / 1.008 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.1349, allocations: 7.688 kB / 1.008 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.1349, allocations: 32.05 kB / 1.008 GB, free: 0.7891 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1349, allocations: 41.39 kB / 1.008 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1349, allocations: 0 / 1.008 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/0.1351, allocations: 45.58 kB / 1.008 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.1351, allocations: 55.34 kB / 1.008 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.1352, allocations: 165.9 kB / 1.008 GB, free: 452 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.1352, allocations: 25.7 kB / 1.008 GB, free: 420 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.1352, allocations: 130.8 kB / 1.008 GB, free: 284 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.1352, allocations: 4 kB / 1.008 GB, free: 280 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.1353, allocations: 23.38 kB / 1.008 GB, free: 248 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1354, allocations: 496.2 kB / 1.009 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1354, allocations: 3.984 kB / 1.009 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.1354, allocations: 19.38 kB / 1.009 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.1355, allocations: 31.31 kB / 1.009 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1355, allocations: 3.938 kB / 1.009 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.942e-05/0.1355, allocations: 53.58 kB / 1.009 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1356, allocations: 4 kB / 1.009 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1356, allocations: 4 kB / 1.009 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1356, allocations: 4.062 kB / 1.009 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.5e-05/0.1356, allocations: 4 kB / 1.009 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1356, allocations: 0 / 1.009 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.1357, allocations: 7.922 kB / 1.009 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1357, allocations: 4 kB / 1.009 GB, free: 15.59 MB / 0.9792 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 7.644e-05/0.1358, allocations: 156.5 kB / 1.009 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.1358, allocations: 4 kB / 1.009 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.1359, allocations: 167.7 kB / 1.009 GB, free: 15.24 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002028/0.1361, allocations: 268.1 kB / 1.01 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.77e-05/0.1362, allocations: 264.1 kB / 1.01 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-05/0.1363, allocations: 276 kB / 1.01 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1365, allocations: 499.9 kB / 1.011 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.1365, allocations: 152.8 kB / 1.011 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.1366, allocations: 145 kB / 1.011 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.519e-05/0.1366, allocations: 272.1 kB / 1.011 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/0.1367, allocations: 268 kB / 1.011 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.09e-05/0.1368, allocations: 268.1 kB / 1.012 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.195e-05/0.1369, allocations: 276 kB / 1.012 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.137, allocations: 436 kB / 1.012 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.137, allocations: 160.7 kB / 1.012 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.1371, allocations: 276.1 kB / 1.013 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1372, allocations: 152.8 kB / 1.013 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.1373, allocations: 268 kB / 1.013 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.1373, allocations: 148.9 kB / 1.013 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.1373, allocations: 135.1 kB / 1.013 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1373, allocations: 0 / 1.013 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002208/0.1376, allocations: 55.75 kB / 1.013 GB, free: 10.84 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.000271/0.1378, allocations: 302.2 kB / 1.014 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 7.875e-05/0.1379, allocations: 19.67 kB / 1.014 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1379, allocations: 0 / 1.014 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.1379, allocations: 0 / 1.014 GB, free: 10.52 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1383, allocations: 0.7177 MB / 1.014 GB, free: 9.793 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.1387, allocations: 237.4 kB / 1.015 GB, free: 9.535 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.591e-05/0.1387, allocations: 55.34 kB / 1.015 GB, free: 9.461 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.1388, allocations: 4.281 kB / 1.015 GB, free: 9.457 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.1388, allocations: 8.5 kB / 1.015 GB, free: 9.449 MB / 0.9792 GB Notification: Performance of SimCode: time 5.92e-07/0.1388, allocations: 0 / 1.015 GB, free: 9.449 MB / 0.9792 GB Notification: Performance of Templates: time 0.003248/0.142, allocations: 1.492 MB / 1.016 GB, free: 7.965 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.318388187326491]