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.001061/0.001061, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002483, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007232/0.0007232, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008883/0.001611, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9886/0.9886, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09219/1.081, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.846/1.846, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4777/2.324, allocations: 123.3 MB / 0.728 GB, free: 5.844 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.873e-06/1.873e-06, allocations: 0 / 0.7293 GB, free: 4.582 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.093e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.578 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1284/0.1284, allocations: 131.1 MB / 0.8573 GB, free: 1.238 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001453/0.1286, allocations: 47.81 kB / 0.8573 GB, free: 1.191 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.1286, allocations: 0 / 0.8573 GB, free: 1.191 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.029e-05/0.1287, allocations: 7.922 kB / 0.8574 GB, free: 1.184 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.1287, allocations: 15.92 kB / 0.8574 GB, free: 1.168 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.1294, allocations: 258.7 kB / 0.8576 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.1295, allocations: 39.84 kB / 0.8577 GB, free: 0.875 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.1295, allocations: 0 / 0.8577 GB, free: 0.875 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.181e-05/0.1295, allocations: 19.97 kB / 0.8577 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.1296, allocations: 15.92 kB / 0.8577 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1296, allocations: 4 kB / 0.8577 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.13, allocations: 195.4 kB / 0.8579 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.13, allocations: 4 kB / 0.8579 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.13, allocations: 4 kB / 0.8579 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1302, allocations: 159.6 kB / 0.858 GB, free: 492 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.1303, allocations: 0 / 0.858 GB, free: 492 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1303, allocations: 0 / 0.858 GB, free: 492 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.1303, allocations: 0 / 0.858 GB, free: 492 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.0003427/0.1306, allocations: 276.4 kB / 0.8583 GB, free: 192 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.1307, allocations: 12.03 kB / 0.8583 GB, free: 180 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.1307, allocations: 8.938 kB / 0.8583 GB, free: 172 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.598e-05/0.1308, allocations: 109.7 kB / 0.8584 GB, free: 36 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.308e-05/0.1308, allocations: 55.95 kB / 0.8585 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.1308, allocations: 4.375 kB / 0.8585 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1309, allocations: 87.22 kB / 0.8586 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.1309, allocations: 0 / 0.8586 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.1309, allocations: 0 / 0.8586 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.131, allocations: 4 kB / 0.8586 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.131, allocations: 7.938 kB / 0.8586 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.1314, allocations: 205.9 kB / 0.8588 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.118e-05/0.1314, allocations: 22.52 kB / 0.8588 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.037e-05/0.1314, allocations: 4.859 kB / 0.8588 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.1315, allocations: 40 kB / 0.8588 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1315, allocations: 34.5 kB / 0.8589 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.1315, allocations: 0 / 0.8589 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 8.992e-05/0.1316, allocations: 33.7 kB / 0.8589 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.1316, allocations: 55.39 kB / 0.859 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.1316, allocations: 106.7 kB / 0.8591 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1317, allocations: 29.83 kB / 0.8591 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.1317, allocations: 88.08 kB / 0.8592 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/0.1317, allocations: 4 kB / 0.8592 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.1317, allocations: 13.7 kB / 0.8592 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.1318, allocations: 314.8 kB / 0.8595 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-06/0.1318, allocations: 0 / 0.8595 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.1318, allocations: 21.66 kB / 0.8595 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/0.1318, allocations: 24.53 kB / 0.8595 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1318, allocations: 0 / 0.8595 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.546e-05/0.1319, allocations: 49.56 kB / 0.8596 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1319, allocations: 4 kB / 0.8596 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1319, allocations: 4 kB / 0.8596 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/0.1319, allocations: 0 / 0.8596 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.819e-05/0.1319, allocations: 4 kB / 0.8596 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.132, allocations: 4 kB / 0.8596 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.132, allocations: 7.891 kB / 0.8596 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.132, allocations: 0 / 0.8596 GB, free: 14.69 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.031e-05/0.132, allocations: 120.6 kB / 0.8597 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.132, allocations: 8 kB / 0.8597 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.223e-05/0.1321, allocations: 120.9 kB / 0.8598 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-05/0.1322, allocations: 180.2 kB / 0.86 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-05/0.1322, allocations: 180.3 kB / 0.8602 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.681e-05/0.1322, allocations: 180.2 kB / 0.8604 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.1324, allocations: 313.5 kB / 0.8607 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/0.1324, allocations: 112.9 kB / 0.8608 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.1324, allocations: 109 kB / 0.8609 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.1324, allocations: 101 kB / 0.861 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.154e-05/0.1325, allocations: 184.1 kB / 0.8611 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.1325, allocations: 192.4 kB / 0.8613 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.912e-05/0.1326, allocations: 188.2 kB / 0.8615 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.955e-05/0.1326, allocations: 176.3 kB / 0.8617 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.676e-05/0.1327, allocations: 311.8 kB / 0.862 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.1327, allocations: 184.2 kB / 0.8621 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.1328, allocations: 108.9 kB / 0.8622 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.1328, allocations: 176.3 kB / 0.8624 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.1329, allocations: 108.9 kB / 0.8625 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 1.519e-05/0.1329, allocations: 12.84 kB / 0.8625 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.1329, allocations: 0 / 0.8625 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001791/0.1331, allocations: 59.75 kB / 0.8626 GB, free: 11.45 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.0002299/0.1333, allocations: 231.4 kB / 0.8628 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.611e-05/0.1333, allocations: 12.84 kB / 0.8628 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1333, allocations: 4 kB / 0.8628 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.1333, allocations: 8.125 kB / 0.8628 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1336, allocations: 467.6 kB / 0.8633 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000678/0.1342, allocations: 182.7 kB / 0.8635 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.512e-05/0.1343, allocations: 55.36 kB / 0.8635 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.1343, allocations: 4 kB / 0.8635 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.1344, allocations: 63.34 kB / 0.8636 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of SimCode: time 6.92e-07/0.1344, allocations: 0 / 0.8636 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of Templates: time 0.002769/0.1371, allocations: 1.469 MB / 0.865 GB, free: 8.926 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.924230718053877]