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.001021/0.001021, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002604, allocations: 440 kB / 10.41 MB, free: 284 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.001111/0.001111, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002929/0.004041, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9904/0.9904, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08918/1.08, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.444/2.444, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2625/2.707, allocations: 146 MB / 0.8176 GB, free: 3.812 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.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.216e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003007/0.00303, allocations: 1.996 MB / 0.8209 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1422/0.1452, allocations: 147.5 MB / 0.9649 GB, free: 12.46 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.1454, allocations: 4 kB / 0.9649 GB, free: 12.46 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.1455, allocations: 31.61 kB / 0.9649 GB, free: 12.43 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.1457, allocations: 75.41 kB / 0.965 GB, free: 12.35 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.1463, allocations: 262.9 kB / 0.9652 GB, free: 12.09 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1466, allocations: 271 kB / 0.9655 GB, free: 11.83 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1467, allocations: 55.23 kB / 0.9655 GB, free: 11.78 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.1477, allocations: 372.6 kB / 0.9659 GB, free: 11.49 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1478, allocations: 75.78 kB / 0.966 GB, free: 11.41 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1478, allocations: 16 kB / 0.966 GB, free: 11.4 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.1481, allocations: 179.7 kB / 0.9662 GB, free: 11.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.1482, allocations: 39.88 kB / 0.9662 GB, free: 11.18 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.1482, allocations: 51.88 kB / 0.9662 GB, free: 11.13 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.1486, allocations: 231.2 kB / 0.9665 GB, free: 10.91 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.581e-05/0.1486, allocations: 0 / 0.9665 GB, free: 10.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1486, allocations: 4 kB / 0.9665 GB, free: 10.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.1487, allocations: 0 / 0.9665 GB, free: 10.9 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.0007788/0.1494, allocations: 487.6 kB / 0.9669 GB, free: 10.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1495, allocations: 12.03 kB / 0.9669 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.1502, allocations: 236.7 kB / 0.9672 GB, free: 10.14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1504, allocations: 160.9 kB / 0.9673 GB, free: 9.957 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.1504, allocations: 63.73 kB / 0.9674 GB, free: 9.883 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.1505, allocations: 16 kB / 0.9674 GB, free: 9.867 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.1508, allocations: 286.6 kB / 0.9677 GB, free: 9.543 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.1508, allocations: 0 / 0.9677 GB, free: 9.543 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1508, allocations: 12 kB / 0.9677 GB, free: 9.531 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1508, allocations: 7.938 kB / 0.9677 GB, free: 9.523 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.377e-05/0.1509, allocations: 72.62 kB / 0.9678 GB, free: 9.453 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.1517, allocations: 0.9449 MB / 0.9687 GB, free: 8.465 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.152, allocations: 129.3 kB / 0.9688 GB, free: 8.328 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.1521, allocations: 32.84 kB / 0.9688 GB, free: 8.293 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1521, allocations: 3.938 kB / 0.9688 GB, free: 8.289 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1521, allocations: 38.56 kB / 0.9689 GB, free: 8.242 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.1521, allocations: 3.938 kB / 0.9689 GB, free: 8.238 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.000972/0.1531, allocations: 349.7 kB / 0.9692 GB, free: 7.883 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.1531, allocations: 51.41 kB / 0.9693 GB, free: 7.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1532, allocations: 186.4 kB / 0.9694 GB, free: 7.625 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1533, allocations: 25.7 kB / 0.9695 GB, free: 7.594 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.1533, allocations: 140.2 kB / 0.9696 GB, free: 7.453 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1533, allocations: 39.64 kB / 0.9696 GB, free: 7.414 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.1534, allocations: 49.62 kB / 0.9697 GB, free: 7.359 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.1535, allocations: 326.8 kB / 0.97 GB, free: 7.031 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.1535, allocations: 23.97 kB / 0.97 GB, free: 7.008 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.1536, allocations: 81.28 kB / 0.9701 GB, free: 6.906 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1537, allocations: 128.6 kB / 0.9702 GB, free: 6.758 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.1537, allocations: 4 kB / 0.9702 GB, free: 6.754 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005107/0.1542, allocations: 245.9 kB / 0.9705 GB, free: 6.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1542, allocations: 4 kB / 0.9705 GB, free: 6.496 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1542, allocations: 4 kB / 0.9705 GB, free: 6.492 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/0.1549, allocations: 236.3 kB / 0.9707 GB, free: 6.254 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1551, allocations: 47.89 kB / 0.9707 GB, free: 6.207 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.1571, allocations: 2.645 MB / 0.9733 GB, free: 3.367 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.1572, allocations: 23.83 kB / 0.9733 GB, free: 3.344 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.1572, allocations: 16.03 kB / 0.9734 GB, free: 3.328 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.413e-05/0.1573, allocations: 120.7 kB / 0.9735 GB, free: 3.199 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1574, allocations: 11.94 kB / 0.9735 GB, free: 3.188 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.1578, allocations: 267.2 kB / 0.9737 GB, free: 2.914 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1578, allocations: 0 / 0.9737 GB, free: 2.914 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1578, allocations: 7.938 kB / 0.9737 GB, free: 2.906 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1578, allocations: 0 / 0.9737 GB, free: 2.906 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.158, allocations: 121.8 kB / 0.9739 GB, free: 2.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.158, allocations: 0 / 0.9739 GB, free: 2.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.158, allocations: 19.98 kB / 0.9739 GB, free: 2.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.1581, allocations: 31.83 kB / 0.9739 GB, free: 2.719 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005604/0.1587, allocations: 215.1 kB / 0.9741 GB, free: 2.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1587, allocations: 0 / 0.9741 GB, free: 2.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.1604, allocations: 2.654 MB / 0.9767 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1604, allocations: 0 / 0.9767 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.1609, allocations: 329 kB / 0.977 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1609, allocations: 3.984 kB / 0.977 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.161, allocations: 12 kB / 0.977 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.1611, allocations: 19.91 kB / 0.9771 GB, free: 15.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1611, allocations: 8.172 kB / 0.9771 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.1611, allocations: 45.88 kB / 0.9771 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.1611, allocations: 0 / 0.9771 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000281/0.1614, allocations: 79.83 kB / 0.9772 GB, free: 15.13 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.0001586/0.1616, allocations: 100.4 kB / 0.9773 GB, free: 15.03 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.162, allocations: 365.8 kB / 0.9776 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.162, allocations: 4 kB / 0.9776 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.1623, allocations: 326.5 kB / 0.9779 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1625, allocations: 124.2 kB / 0.9781 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.1642, allocations: 436.8 kB / 0.9785 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.273e-05/0.1642, allocations: 80.33 kB / 0.9786 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.1643, allocations: 33.41 kB / 0.9786 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.1645, allocations: 99.27 kB / 0.9787 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of SimCode: time 9.11e-07/0.1645, allocations: 3.938 kB / 0.9787 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of Templates: time 0.007077/0.1715, allocations: 5.273 MB / 0.9838 GB, free: 8.273 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.637423291802406]