Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001098/0.001098, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001529/0.002627, 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.001065/0.001065, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002407, 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.9712/0.9712, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09021/1.061, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.517/2.517, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2598/2.776, allocations: 145.9 MB / 0.817 GB, free: 4.188 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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.532e-05, allocations: 4.422 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003341/0.003366, allocations: 2 MB / 0.8202 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1381/0.1415, allocations: 147.5 MB / 0.9642 GB, free: 12.84 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.1417, allocations: 0 / 0.9642 GB, free: 12.84 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.1418, allocations: 31.66 kB / 0.9643 GB, free: 12.81 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.142, allocations: 79.36 kB / 0.9643 GB, free: 12.73 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.1426, allocations: 259 kB / 0.9646 GB, free: 12.48 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.1428, allocations: 267 kB / 0.9648 GB, free: 12.21 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1429, allocations: 55.23 kB / 0.9649 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009942/0.1439, allocations: 373.3 kB / 0.9653 GB, free: 11.87 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.144, allocations: 75.72 kB / 0.9653 GB, free: 11.8 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1441, allocations: 12 kB / 0.9653 GB, free: 11.79 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.1444, allocations: 191.6 kB / 0.9655 GB, free: 11.6 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.1444, allocations: 27.88 kB / 0.9655 GB, free: 11.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.1445, allocations: 51.81 kB / 0.9656 GB, free: 11.52 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.1448, allocations: 235.2 kB / 0.9658 GB, free: 11.29 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.556e-05/0.1448, allocations: 4 kB / 0.9658 GB, free: 11.29 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1448, allocations: 0 / 0.9658 GB, free: 11.29 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.1448, allocations: 0 / 0.9658 GB, free: 11.29 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006338/0.1455, allocations: 491.6 kB / 0.9663 GB, free: 10.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.1455, allocations: 12.03 kB / 0.9663 GB, free: 10.77 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006049/0.1461, allocations: 228.8 kB / 0.9665 GB, free: 10.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1463, allocations: 164.8 kB / 0.9667 GB, free: 10.34 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.1464, allocations: 63.73 kB / 0.9667 GB, free: 10.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1464, allocations: 16 kB / 0.9668 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.1466, allocations: 282.6 kB / 0.967 GB, free: 9.934 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1467, allocations: 0 / 0.967 GB, free: 9.934 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1467, allocations: 8 kB / 0.967 GB, free: 9.926 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1467, allocations: 11.94 kB / 0.967 GB, free: 9.914 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.1468, allocations: 67.83 kB / 0.9671 GB, free: 9.848 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.1476, allocations: 0.9488 MB / 0.968 GB, free: 8.855 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.1479, allocations: 137.2 kB / 0.9682 GB, free: 8.711 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.1479, allocations: 28.8 kB / 0.9682 GB, free: 8.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1479, allocations: 7.938 kB / 0.9682 GB, free: 8.672 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.148, allocations: 38.55 kB / 0.9682 GB, free: 8.625 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.148, allocations: 4 kB / 0.9682 GB, free: 8.621 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0009567/0.1489, allocations: 341.7 kB / 0.9686 GB, free: 8.273 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.1489, allocations: 63.41 kB / 0.9686 GB, free: 8.199 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1491, allocations: 182.4 kB / 0.9688 GB, free: 8.008 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1491, allocations: 25.7 kB / 0.9688 GB, free: 7.977 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.1491, allocations: 136.2 kB / 0.969 GB, free: 7.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.1492, allocations: 51.62 kB / 0.969 GB, free: 7.789 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.1492, allocations: 45.62 kB / 0.9691 GB, free: 7.738 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.1493, allocations: 322.8 kB / 0.9694 GB, free: 7.414 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.1493, allocations: 19.98 kB / 0.9694 GB, free: 7.395 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.1494, allocations: 78.77 kB / 0.9695 GB, free: 7.293 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1495, allocations: 128.8 kB / 0.9696 GB, free: 7.145 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1495, allocations: 0 / 0.9696 GB, free: 7.145 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004848/0.15, allocations: 245.9 kB / 0.9698 GB, free: 6.891 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.15, allocations: 8 kB / 0.9698 GB, free: 6.883 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.15, allocations: 0 / 0.9698 GB, free: 6.883 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006929/0.1507, allocations: 240.3 kB / 0.97 GB, free: 6.641 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1508, allocations: 39.95 kB / 0.9701 GB, free: 6.602 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.1527, allocations: 2.642 MB / 0.9727 GB, free: 3.766 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.1529, allocations: 31.83 kB / 0.9727 GB, free: 3.734 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1529, allocations: 4 kB / 0.9727 GB, free: 3.73 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.305e-05/0.153, allocations: 120.6 kB / 0.9728 GB, free: 3.602 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.153, allocations: 19.92 kB / 0.9728 GB, free: 3.582 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.1534, allocations: 261.6 kB / 0.9731 GB, free: 3.316 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1535, allocations: 7.984 kB / 0.9731 GB, free: 3.309 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.1535, allocations: 0 / 0.9731 GB, free: 3.309 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1535, allocations: 0 / 0.9731 GB, free: 3.309 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.1536, allocations: 125.8 kB / 0.9732 GB, free: 3.168 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1536, allocations: 0 / 0.9732 GB, free: 3.168 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.1537, allocations: 27.92 kB / 0.9732 GB, free: 3.141 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.1537, allocations: 23.83 kB / 0.9733 GB, free: 3.117 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005551/0.1543, allocations: 215.1 kB / 0.9735 GB, free: 2.898 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1543, allocations: 4 kB / 0.9735 GB, free: 2.895 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.1558, allocations: 2.659 MB / 0.9761 GB, free: 36 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1559, allocations: 0 / 0.9761 GB, free: 36 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.1563, allocations: 326.4 kB / 0.9764 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1563, allocations: 8 kB / 0.9764 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.726e-05/0.1564, allocations: 11.98 kB / 0.9764 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.1565, allocations: 19.97 kB / 0.9764 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1565, allocations: 7.984 kB / 0.9764 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.1565, allocations: 44.75 kB / 0.9765 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1565, allocations: 0 / 0.9765 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002775/0.1568, allocations: 83.83 kB / 0.9765 GB, free: 15.52 MB / 0.9636 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001644/0.157, allocations: 96.34 kB / 0.9766 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.1574, allocations: 356.7 kB / 0.977 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.1574, allocations: 0 / 0.977 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.1577, allocations: 333.3 kB / 0.9773 GB, free: 14.69 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.1579, allocations: 78.12 kB / 0.9774 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.1595, allocations: 435.7 kB / 0.9778 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.854e-05/0.1596, allocations: 80.31 kB / 0.9779 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.621e-05/0.1597, allocations: 29.47 kB / 0.9779 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.1598, allocations: 91.3 kB / 0.978 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of SimCode: time 7.22e-07/0.1598, allocations: 0 / 0.978 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of Templates: time 0.007013/0.1668, allocations: 5.369 MB / 0.9832 GB, free: 8.641 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.598700224421918]