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.001114/0.001114, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001737/0.00285, allocations: 449.8 kB / 10.44 MB, free: 252 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.001036/0.001036, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001776/0.002812, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9428/0.9428, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08551/1.028, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.802/1.802, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4668/2.269, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.803e-06/1.803e-06, allocations: 0 / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.713e-05, allocations: 4.094 kB / 0.7296 GB, free: 4.445 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1254/0.1254, allocations: 131.1 MB / 0.8576 GB, free: 1.105 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001587/0.1255, allocations: 51.8 kB / 0.8577 GB, free: 1.055 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.1256, allocations: 0 / 0.8577 GB, free: 1.055 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.373e-05/0.1256, allocations: 3.938 kB / 0.8577 GB, free: 1.051 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.499e-05/0.1257, allocations: 15.92 kB / 0.8577 GB, free: 1.035 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.1264, allocations: 258.7 kB / 0.8579 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.1264, allocations: 39.84 kB / 0.858 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.1265, allocations: 3.984 kB / 0.858 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.1265, allocations: 19.97 kB / 0.858 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.1266, allocations: 15.94 kB / 0.858 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1266, allocations: 0 / 0.858 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.1269, allocations: 191.4 kB / 0.8582 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.127, allocations: 4 kB / 0.8582 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.127, allocations: 8 kB / 0.8582 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1272, allocations: 155.6 kB / 0.8584 GB, free: 360 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.1272, allocations: 0 / 0.8584 GB, free: 360 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1272, allocations: 0 / 0.8584 GB, free: 360 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.1272, allocations: 4 kB / 0.8584 GB, free: 356 kB / 0.823 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.0003303/0.1276, allocations: 272.4 kB / 0.8586 GB, free: 60 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1276, allocations: 12.03 kB / 0.8586 GB, free: 48 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.1276, allocations: 8.906 kB / 0.8586 GB, free: 40 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.1277, allocations: 113.7 kB / 0.8588 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.1278, allocations: 51.97 kB / 0.8588 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1278, allocations: 4.375 kB / 0.8588 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.1279, allocations: 87.17 kB / 0.8589 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.1279, allocations: 0 / 0.8589 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.1279, allocations: 0 / 0.8589 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.1279, allocations: 0 / 0.8589 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.128, allocations: 7.984 kB / 0.8589 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.1283, allocations: 209.9 kB / 0.8591 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.433e-05/0.1283, allocations: 22.56 kB / 0.8591 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.147e-05/0.1284, allocations: 8.797 kB / 0.8591 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.1284, allocations: 27.98 kB / 0.8592 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1284, allocations: 34.56 kB / 0.8592 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1284, allocations: 0 / 0.8592 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 8.642e-05/0.1285, allocations: 37.69 kB / 0.8592 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.1285, allocations: 55.34 kB / 0.8593 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.1286, allocations: 106.7 kB / 0.8594 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1286, allocations: 29.69 kB / 0.8594 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.1286, allocations: 88.22 kB / 0.8595 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-06/0.1286, allocations: 0 / 0.8595 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.1287, allocations: 13.72 kB / 0.8595 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.1287, allocations: 318.8 kB / 0.8598 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-06/0.1287, allocations: 7.984 kB / 0.8598 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.1287, allocations: 21.7 kB / 0.8598 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/0.1288, allocations: 20.55 kB / 0.8599 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1288, allocations: 0 / 0.8599 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.548e-05/0.1288, allocations: 49.56 kB / 0.8599 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1288, allocations: 4 kB / 0.8599 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1288, allocations: 4 kB / 0.8599 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1288, allocations: 0 / 0.8599 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.169e-05/0.1289, allocations: 7.984 kB / 0.8599 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1289, allocations: 0 / 0.8599 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.1289, allocations: 11.89 kB / 0.8599 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1289, allocations: 288 / 0.8599 GB, free: 14.55 MB / 0.8386 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.011e-05/0.129, allocations: 112.7 kB / 0.86 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.129, allocations: 3.938 kB / 0.86 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.1291, allocations: 133 kB / 0.8602 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/0.1292, allocations: 176.3 kB / 0.8603 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-05/0.1292, allocations: 188.2 kB / 0.8605 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.1292, allocations: 176.3 kB / 0.8607 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.1294, allocations: 325.4 kB / 0.861 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/0.1294, allocations: 101 kB / 0.8611 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.1294, allocations: 109 kB / 0.8612 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.1294, allocations: 104.9 kB / 0.8613 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.21e-05/0.1295, allocations: 184.2 kB / 0.8615 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.1295, allocations: 184.2 kB / 0.8616 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.739e-05/0.1296, allocations: 180.3 kB / 0.8618 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.809e-05/0.1296, allocations: 176.3 kB / 0.862 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.085e-05/0.1297, allocations: 316 kB / 0.8623 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.1297, allocations: 184.1 kB / 0.8625 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.1298, allocations: 105 kB / 0.8626 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1299, allocations: 184.2 kB / 0.8627 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.1299, allocations: 108.9 kB / 0.8628 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.889e-05/0.1299, allocations: 12.86 kB / 0.8629 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.1299, allocations: 0 / 0.8629 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001783/0.1301, allocations: 59.73 kB / 0.8629 GB, free: 11.33 MB / 0.8386 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.0002346/0.1303, allocations: 239.4 kB / 0.8631 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.208e-05/0.1304, allocations: 8.859 kB / 0.8631 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1304, allocations: 0 / 0.8631 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.1304, allocations: 4 kB / 0.8632 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1306, allocations: 0.5188 MB / 0.8637 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006798/0.1313, allocations: 186.7 kB / 0.8638 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.042e-05/0.1314, allocations: 51.36 kB / 0.8639 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.1314, allocations: 7.938 kB / 0.8639 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.1314, allocations: 63.36 kB / 0.864 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.1314, allocations: 4 kB / 0.864 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of Templates: time 0.002893/0.1343, allocations: 1.461 MB / 0.8654 GB, free: 8.734 MB / 0.8386 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 -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion/Buildings_12_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: 4.81898045539856]