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.001119/0.001119, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001628/0.002748, allocations: 435.8 kB / 10.33 MB, free: 368 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.001149/0.001149, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001111/0.00226, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9594/0.9594, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09069/1.05, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.376/2.376, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2569/2.633, allocations: 145.9 MB / 0.817 GB, free: 4.176 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.473e-06/1.473e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.059e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1399/0.1399, allocations: 131 MB / 0.9463 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001704/0.1401, allocations: 55.69 kB / 0.9463 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.1401, allocations: 4 kB / 0.9463 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.641e-05/0.1402, allocations: 0 / 0.9463 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.574e-05/0.1403, allocations: 15.84 kB / 0.9463 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.1411, allocations: 262.8 kB / 0.9466 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.1412, allocations: 35.84 kB / 0.9466 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.1412, allocations: 3.938 kB / 0.9466 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.1413, allocations: 23.98 kB / 0.9466 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.1414, allocations: 15.97 kB / 0.9467 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1414, allocations: 0 / 0.9467 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.1417, allocations: 183.4 kB / 0.9468 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.1418, allocations: 19.86 kB / 0.9468 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.1418, allocations: 4 kB / 0.9468 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1421, allocations: 147.7 kB / 0.947 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.751e-05/0.1421, allocations: 4 kB / 0.947 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1421, allocations: 3.938 kB / 0.947 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.1421, allocations: 0 / 0.947 GB, free: 14.56 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.0003535/0.1424, allocations: 280.4 kB / 0.9473 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1425, allocations: 12.62 kB / 0.9473 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.1425, allocations: 0.9375 kB / 0.9473 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.792e-05/0.1426, allocations: 109.7 kB / 0.9474 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/0.1427, allocations: 51.97 kB / 0.9474 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1427, allocations: 4.375 kB / 0.9474 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1428, allocations: 91.19 kB / 0.9475 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1428, allocations: 0 / 0.9475 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1428, allocations: 0 / 0.9475 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.1428, allocations: 4 kB / 0.9475 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.709e-05/0.1429, allocations: 11.94 kB / 0.9475 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.1434, allocations: 209.9 kB / 0.9477 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.971e-05/0.1434, allocations: 18.58 kB / 0.9478 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.1434, allocations: 4.859 kB / 0.9478 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.1435, allocations: 36 kB / 0.9478 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1435, allocations: 34.56 kB / 0.9478 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.1435, allocations: 0 / 0.9478 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001064/0.1436, allocations: 33.64 kB / 0.9479 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.1436, allocations: 55.53 kB / 0.9479 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.1437, allocations: 106.7 kB / 0.948 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1437, allocations: 29.7 kB / 0.948 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.1438, allocations: 88.08 kB / 0.9481 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.1438, allocations: 0 / 0.9481 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.1438, allocations: 21.7 kB / 0.9481 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.1439, allocations: 318.8 kB / 0.9485 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-06/0.1439, allocations: 4 kB / 0.9485 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.1439, allocations: 13.72 kB / 0.9485 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.1439, allocations: 32.47 kB / 0.9485 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1439, allocations: 0 / 0.9485 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.863e-05/0.144, allocations: 49.56 kB / 0.9485 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.144, allocations: 4 kB / 0.9486 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.144, allocations: 4 kB / 0.9486 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.144, allocations: 0 / 0.9486 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.86e-05/0.144, allocations: 4 kB / 0.9486 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.144, allocations: 0 / 0.9486 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.144, allocations: 7.938 kB / 0.9486 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.144, allocations: 0 / 0.9486 GB, free: 12.76 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.099e-05/0.1441, allocations: 120.7 kB / 0.9487 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1441, allocations: 7.922 kB / 0.9487 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47e-05/0.1442, allocations: 120.9 kB / 0.9488 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-05/0.1442, allocations: 180.3 kB / 0.949 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-05/0.1443, allocations: 184.2 kB / 0.9492 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.052e-05/0.1443, allocations: 180.2 kB / 0.9493 GB, free: 11.94 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1444, allocations: 313.5 kB / 0.9496 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/0.1445, allocations: 104.9 kB / 0.9497 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.1445, allocations: 105 kB / 0.9498 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.1445, allocations: 105.1 kB / 0.9499 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.004e-05/0.1446, allocations: 196.2 kB / 0.9501 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.1446, allocations: 180.3 kB / 0.9503 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.901e-05/0.1447, allocations: 180.2 kB / 0.9505 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.019e-05/0.1447, allocations: 180.5 kB / 0.9506 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.186e-05/0.1448, allocations: 307.8 kB / 0.9509 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.1448, allocations: 180.2 kB / 0.9511 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.1449, allocations: 120.9 kB / 0.9512 GB, free: 9.898 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.145, allocations: 180.2 kB / 0.9514 GB, free: 9.715 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.145, allocations: 109 kB / 0.9515 GB, free: 9.602 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 1.556e-05/0.145, allocations: 12.8 kB / 0.9515 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.145, allocations: 4 kB / 0.9515 GB, free: 9.582 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002035/0.1452, allocations: 59.73 kB / 0.9516 GB, free: 9.523 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.0002706/0.1455, allocations: 239.3 kB / 0.9518 GB, free: 9.277 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 5.81e-05/0.1456, allocations: 8.922 kB / 0.9518 GB, free: 9.266 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.1456, allocations: 8.047 kB / 0.9518 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1456, allocations: 0 / 0.9518 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1458, allocations: 467.7 kB / 0.9522 GB, free: 8.797 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.1465, allocations: 198.3 kB / 0.9524 GB, free: 8.578 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.1465, allocations: 55.36 kB / 0.9525 GB, free: 8.504 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.1466, allocations: 4 kB / 0.9525 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.1466, allocations: 63.34 kB / 0.9526 GB, free: 8.438 MB / 0.9323 GB Notification: Performance of SimCode: time 1.433e-06/0.1466, allocations: 0 / 0.9526 GB, free: 8.438 MB / 0.9323 GB Notification: Performance of Templates: time 0.003047/0.1497, allocations: 1.45 MB / 0.954 GB, free: 6.992 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.223694725893438]