Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001372/0.001372, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001534/0.001534, allocations: 185 kB / 24.09 MB, free: 412 kB / 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.991/0.991, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.869/1.869, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.004e-05, allocations: 3.625 kB / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1307/0.1307, allocations: 128.7 MB / 0.9376 GB, free: 416 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.1309, allocations: 51.81 kB / 0.9377 GB, free: 364 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.1309, allocations: 0 / 0.9377 GB, free: 364 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.131, allocations: 7.922 kB / 0.9377 GB, free: 356 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 7.69e-05/0.1311, allocations: 11.92 kB / 0.9377 GB, free: 344 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.1318, allocations: 266.8 kB / 0.9379 GB, free: 76 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.1319, allocations: 31.86 kB / 0.938 GB, free: 44 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.31e-05/0.1319, allocations: 0 / 0.938 GB, free: 44 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.1319, allocations: 23.97 kB / 0.938 GB, free: 20 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.132, allocations: 11.98 kB / 0.938 GB, free: 8 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.132, allocations: 0 / 0.938 GB, free: 8 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.1323, allocations: 183.4 kB / 0.9382 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.1324, allocations: 11.92 kB / 0.9382 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.1324, allocations: 12 kB / 0.9382 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.1326, allocations: 179.5 kB / 0.9384 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1326, allocations: 4 kB / 0.9384 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1326, allocations: 0 / 0.9384 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1326, allocations: 0 / 0.9384 GB, free: 15.62 MB / 0.9011 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.0004409/0.133, allocations: 384 kB / 0.9387 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.1331, allocations: 8.031 kB / 0.9388 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.1331, allocations: 5.281 kB / 0.9388 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.323e-05/0.1332, allocations: 112.6 kB / 0.9389 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.1332, allocations: 55.97 kB / 0.9389 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.1332, allocations: 4.375 kB / 0.9389 GB, free: 15 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.655e-05/0.1333, allocations: 80.41 kB / 0.939 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.1333, allocations: 0 / 0.939 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.1333, allocations: 0 / 0.939 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1334, allocations: 3.938 kB / 0.939 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.1334, allocations: 15.97 kB / 0.939 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.1337, allocations: 284.4 kB / 0.9393 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 2.678e-05/0.1338, allocations: 23.06 kB / 0.9393 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.081e-05/0.1338, allocations: 15.69 kB / 0.9393 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.1338, allocations: 39.92 kB / 0.9394 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1338, allocations: 41.31 kB / 0.9394 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1338, allocations: 0 / 0.9394 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 9.055e-05/0.1339, allocations: 37.64 kB / 0.9394 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.1339, allocations: 51.41 kB / 0.9395 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.134, allocations: 157.9 kB / 0.9396 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.134, allocations: 33.7 kB / 0.9397 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.1341, allocations: 134.8 kB / 0.9398 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-06/0.1341, allocations: 3.953 kB / 0.9398 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.1341, allocations: 19.5 kB / 0.9398 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.1342, allocations: 0.4884 MB / 0.9403 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-06/0.1342, allocations: 4 kB / 0.9403 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.1342, allocations: 23.31 kB / 0.9403 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.1342, allocations: 35.36 kB / 0.9404 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1342, allocations: 0 / 0.9404 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.531e-05/0.1343, allocations: 49.56 kB / 0.9404 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1343, allocations: 8 kB / 0.9404 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1343, allocations: 64 / 0.9404 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.1343, allocations: 4 kB / 0.9404 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.803e-05/0.1343, allocations: 4 kB / 0.9404 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.1343, allocations: 3.984 kB / 0.9404 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.1343, allocations: 7.938 kB / 0.9404 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1343, allocations: 0 / 0.9404 GB, free: 13.29 MB / 0.9011 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.38e-05/0.1344, allocations: 160.6 kB / 0.9406 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.1344, allocations: 7.891 kB / 0.9406 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.489e-05/0.1345, allocations: 163.7 kB / 0.9408 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.085e-05/0.1345, allocations: 268.1 kB / 0.941 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.818e-05/0.1346, allocations: 272 kB / 0.9413 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-05/0.1346, allocations: 276.2 kB / 0.9415 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.1348, allocations: 476.5 kB / 0.942 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/0.1348, allocations: 152.8 kB / 0.9421 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.1348, allocations: 144.9 kB / 0.9423 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.932e-05/0.1349, allocations: 272 kB / 0.9425 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/0.1349, allocations: 268 kB / 0.9428 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-05/0.135, allocations: 268.1 kB / 0.943 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.288e-05/0.135, allocations: 280 kB / 0.9433 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1352, allocations: 444 kB / 0.9437 GB, free: 9.758 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.1352, allocations: 152.9 kB / 0.9439 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.1352, allocations: 268 kB / 0.9441 GB, free: 9.332 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.1353, allocations: 160.8 kB / 0.9443 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1354, allocations: 264.1 kB / 0.9445 GB, free: 8.902 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.1354, allocations: 152.8 kB / 0.9447 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.1354, allocations: 131.2 kB / 0.9448 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1354, allocations: 0 / 0.9448 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000186/0.1356, allocations: 55.75 kB / 0.9449 GB, free: 8.562 MB / 0.9011 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.0002202/0.1359, allocations: 294.5 kB / 0.9451 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 4.948e-05/0.1359, allocations: 23.66 kB / 0.9452 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1359, allocations: 0 / 0.9452 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.1359, allocations: 0 / 0.9452 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.1363, allocations: 0.7139 MB / 0.9459 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.1367, allocations: 245.4 kB / 0.9461 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.561e-05/0.1367, allocations: 51.36 kB / 0.9461 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.1367, allocations: 7.984 kB / 0.9462 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.1368, allocations: 78.19 kB / 0.9462 GB, free: 7.098 MB / 0.9011 GB Notification: Performance of SimCode: time 4.41e-07/0.1368, allocations: 4 kB / 0.9462 GB, free: 7.094 MB / 0.9011 GB Notification: Performance of Templates: time 0.002677/0.1394, allocations: 1.419 MB / 0.9476 GB, free: 5.68 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.135072391014546]