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.0011/0.0011, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001658/0.002758, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001109/0.001109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002646, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.9494/0.9494, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08226/1.032, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.374/2.374, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2969/2.671, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.984e-06/1.984e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.105e-05/3.303e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1402/0.1402, allocations: 131.1 MB / 0.9469 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002213/0.1405, allocations: 55.75 kB / 0.9469 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.1405, allocations: 0 / 0.9469 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1406, allocations: 0 / 0.9469 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/0.1407, allocations: 27.67 kB / 0.947 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009156/0.1416, allocations: 254.8 kB / 0.9472 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.1417, allocations: 31.84 kB / 0.9472 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.1418, allocations: 11.98 kB / 0.9473 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.1418, allocations: 23.92 kB / 0.9473 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.1419, allocations: 11.97 kB / 0.9473 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1419, allocations: 4 kB / 0.9473 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004735/0.1424, allocations: 183.4 kB / 0.9475 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.1425, allocations: 4 kB / 0.9475 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.1425, allocations: 19.88 kB / 0.9475 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.1429, allocations: 147.7 kB / 0.9476 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-05/0.1429, allocations: 3.938 kB / 0.9476 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1429, allocations: 0 / 0.9476 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.1429, allocations: 4 kB / 0.9476 GB, free: 14.17 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.000494/0.1434, allocations: 272.4 kB / 0.9479 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1434, allocations: 11.97 kB / 0.9479 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.1435, allocations: 12.92 kB / 0.9479 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1436, allocations: 113.7 kB / 0.948 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.038e-05/0.1437, allocations: 51.97 kB / 0.9481 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1437, allocations: 384 / 0.9481 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1438, allocations: 87.22 kB / 0.9482 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1439, allocations: 0 / 0.9482 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1439, allocations: 0 / 0.9482 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.1439, allocations: 4 kB / 0.9482 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.1439, allocations: 11.92 kB / 0.9482 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.1444, allocations: 205.9 kB / 0.9484 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.577e-05/0.1445, allocations: 18.58 kB / 0.9484 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.1445, allocations: 8.922 kB / 0.9484 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/0.1446, allocations: 31.91 kB / 0.9484 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1446, allocations: 34.56 kB / 0.9485 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/0.1446, allocations: 0 / 0.9485 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.1447, allocations: 41.62 kB / 0.9485 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1448, allocations: 51.41 kB / 0.9486 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.1449, allocations: 102.7 kB / 0.9486 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1449, allocations: 29.7 kB / 0.9487 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.1449, allocations: 92.08 kB / 0.9488 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.1449, allocations: 0 / 0.9488 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.145, allocations: 13.72 kB / 0.9488 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1451, allocations: 310.8 kB / 0.9491 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.1451, allocations: 7.984 kB / 0.9491 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.1451, allocations: 13.72 kB / 0.9491 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.1451, allocations: 24.61 kB / 0.9491 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1452, allocations: 4 kB / 0.9491 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.949e-05/0.1452, allocations: 45.56 kB / 0.9492 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1453, allocations: 5.406 kB / 0.9492 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1453, allocations: 4 kB / 0.9492 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1453, allocations: 0 / 0.9492 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.1453, allocations: 7.984 kB / 0.9492 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.1453, allocations: 3.938 kB / 0.9492 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.1454, allocations: 15.94 kB / 0.9492 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1454, allocations: 4.062 kB / 0.9492 GB, free: 12.37 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 8.899e-05/0.1455, allocations: 116.7 kB / 0.9493 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.1455, allocations: 3.938 kB / 0.9493 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.1456, allocations: 124.9 kB / 0.9494 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/0.1457, allocations: 184.3 kB / 0.9496 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002852/0.146, allocations: 184.3 kB / 0.9498 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.874e-05/0.146, allocations: 180.2 kB / 0.95 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.1462, allocations: 317.4 kB / 0.9503 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-05/0.1463, allocations: 105.2 kB / 0.9504 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.1463, allocations: 105 kB / 0.9505 GB, free: 11 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.1463, allocations: 105 kB / 0.9506 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.161e-05/0.1464, allocations: 192.1 kB / 0.9507 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.988e-05/0.1465, allocations: 184.3 kB / 0.9509 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.566e-05/0.1465, allocations: 180.2 kB / 0.9511 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-05/0.1466, allocations: 176.3 kB / 0.9513 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.1467, allocations: 311.7 kB / 0.9516 GB, free: 9.812 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.1468, allocations: 180.2 kB / 0.9517 GB, free: 9.629 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.1469, allocations: 108.9 kB / 0.9518 GB, free: 9.516 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.147, allocations: 184.2 kB / 0.952 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.147, allocations: 109 kB / 0.9521 GB, free: 9.215 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.147, allocations: 12.8 kB / 0.9521 GB, free: 9.199 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.147, allocations: 0 / 0.9521 GB, free: 9.199 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000311/0.1474, allocations: 55.73 kB / 0.9522 GB, free: 9.145 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.0003607/0.1477, allocations: 235.4 kB / 0.9524 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.314e-05/0.1478, allocations: 16.8 kB / 0.9524 GB, free: 8.883 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.1478, allocations: 0 / 0.9524 GB, free: 8.883 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 6.342e-06/0.1478, allocations: 4 kB / 0.9524 GB, free: 8.879 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1482, allocations: 0.5149 MB / 0.9529 GB, free: 8.348 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009146/0.1491, allocations: 202.3 kB / 0.9531 GB, free: 8.125 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.861e-05/0.1491, allocations: 51.36 kB / 0.9532 GB, free: 8.055 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.1492, allocations: 8.188 kB / 0.9532 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/0.1492, allocations: 63.34 kB / 0.9532 GB, free: 7.984 MB / 0.9323 GB Notification: Performance of SimCode: time 9.72e-07/0.1492, allocations: 0 / 0.9532 GB, free: 7.984 MB / 0.9323 GB Notification: Performance of Templates: time 0.00366/0.1529, allocations: 1.454 MB / 0.9547 GB, free: 6.539 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 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.480059210211039]