Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.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.0008313/0.0008313, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001859/0.00269, 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.00122/0.00122, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002642, 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 1.035/1.035, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08649/1.121, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.776/1.776, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4433/2.219, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.298e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1198/0.1198, allocations: 131.2 MB / 0.8574 GB, free: 1.062 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00666/0.1264, allocations: 7.971 MB / 0.8652 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.1265, allocations: 0 / 0.8652 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1266, allocations: 23.78 kB / 0.8653 GB, free: 9.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.992e-05/0.1266, allocations: 19.84 kB / 0.8653 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.1285, allocations: 1.307 MB / 0.8665 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.1286, allocations: 83.58 kB / 0.8666 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.1287, allocations: 3.984 kB / 0.8666 GB, free: 7.625 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1288, allocations: 63.81 kB / 0.8667 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.1289, allocations: 31.89 kB / 0.8667 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1289, allocations: 0 / 0.8667 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.1316, allocations: 2.785 MB / 0.8694 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.1316, allocations: 4 kB / 0.8694 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.1317, allocations: 19.94 kB / 0.8695 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.1329, allocations: 1.33 MB / 0.8708 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.1329, allocations: 0 / 0.8708 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1329, allocations: 0 / 0.8708 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.1329, allocations: 0 / 0.8708 GB, free: 3.387 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007095/0.1336, allocations: 0.5709 MB / 0.8713 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.1337, allocations: 8.031 kB / 0.8713 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.1339, allocations: 60.59 kB / 0.8714 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.404e-05/0.134, allocations: 113.7 kB / 0.8715 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.134, allocations: 55.97 kB / 0.8715 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.134, allocations: 8.375 kB / 0.8716 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1342, allocations: 151.1 kB / 0.8717 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.1342, allocations: 0 / 0.8717 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1342, allocations: 0 / 0.8717 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1342, allocations: 0 / 0.8717 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1344, allocations: 83.91 kB / 0.8718 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.1346, allocations: 217.8 kB / 0.872 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1348, allocations: 90.52 kB / 0.8721 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.1348, allocations: 32.84 kB / 0.8721 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004474/0.1393, allocations: 2.661 MB / 0.8747 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1393, allocations: 30.56 kB / 0.8747 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.1393, allocations: 0 / 0.8747 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002209/0.1395, allocations: 129.5 kB / 0.8749 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.1395, allocations: 59.41 kB / 0.8749 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.54e-05/0.1396, allocations: 106.7 kB / 0.875 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1396, allocations: 25.7 kB / 0.875 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.1396, allocations: 80.14 kB / 0.8751 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.1396, allocations: 51.56 kB / 0.8752 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1397, allocations: 33.69 kB / 0.8752 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.1397, allocations: 310.8 kB / 0.8755 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.1398, allocations: 15.98 kB / 0.8755 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.1398, allocations: 15.69 kB / 0.8755 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.365e-05/0.1398, allocations: 48.81 kB / 0.8756 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1398, allocations: 7.938 kB / 0.8756 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.274e-05/0.1399, allocations: 81.59 kB / 0.8757 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1399, allocations: 4 kB / 0.8757 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1399, allocations: 4 kB / 0.8757 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.1399, allocations: 0 / 0.8757 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.14, allocations: 28.02 kB / 0.8757 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.14, allocations: 0 / 0.8757 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.14, allocations: 7.953 kB / 0.8757 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.14, allocations: 4 kB / 0.8757 GB, free: 14.13 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.136e-05/0.1401, allocations: 117.8 kB / 0.8758 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.1401, allocations: 19.88 kB / 0.8758 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.1403, allocations: 259.2 kB / 0.8761 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1403, allocations: 11.98 kB / 0.8761 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1403, allocations: 0 / 0.8761 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1403, allocations: 0 / 0.8761 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.1405, allocations: 134 kB / 0.8762 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1405, allocations: 0 / 0.8762 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.1406, allocations: 35.91 kB / 0.8763 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.1406, allocations: 31.72 kB / 0.8763 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1406, allocations: 0 / 0.8763 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1406, allocations: 7.984 kB / 0.8763 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1406, allocations: 4 kB / 0.8763 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1406, allocations: 7.984 kB / 0.8763 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.1407, allocations: 282.5 kB / 0.8766 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.1408, allocations: 7.938 kB / 0.8766 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.1408, allocations: 4 kB / 0.8766 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.1408, allocations: 7.984 kB / 0.8766 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.1408, allocations: 7.984 kB / 0.8766 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.467e-06/0.1408, allocations: 12.8 kB / 0.8766 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.1408, allocations: 0 / 0.8766 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003959/0.1412, allocations: 303.7 kB / 0.8769 GB, free: 12.84 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007918/0.142, allocations: 467.6 kB / 0.8773 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.492e-05/0.1421, allocations: 76.7 kB / 0.8774 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1421, allocations: 4 kB / 0.8774 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-05/0.1422, allocations: 60.75 kB / 0.8775 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.1424, allocations: 41.97 kB / 0.8775 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1436, allocations: 303.2 kB / 0.8778 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.03e-05/0.1437, allocations: 76.44 kB / 0.8779 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.166e-05/0.1438, allocations: 32.69 kB / 0.8779 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.1438, allocations: 77.31 kB / 0.878 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.1438, allocations: 0 / 0.878 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of Templates: time 0.01007/0.1539, allocations: 11.08 MB / 0.8888 GB, free: 0.6133 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.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.078023730777204]