Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.000778/0.000778, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001866, 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.001/0.001, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002263, 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.9413/0.9413, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08821/1.03, 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.961/1.961, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5715/2.533, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 177] 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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.43e-05, allocations: 10.25 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00232/0.002344, allocations: 1.76 MB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1462/0.1485, allocations: 143.5 MB / 0.8712 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1487, allocations: 0 / 0.8712 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.1488, allocations: 19.73 kB / 0.8712 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1491, allocations: 47.66 kB / 0.8712 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.1495, allocations: 195.1 kB / 0.8714 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1497, allocations: 163.3 kB / 0.8716 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1498, allocations: 25.94 kB / 0.8716 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009959/0.1508, allocations: 299.5 kB / 0.8719 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.909e-05/0.1509, allocations: 47.88 kB / 0.8719 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1509, allocations: 8 kB / 0.8719 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.1511, allocations: 171.7 kB / 0.8721 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.1512, allocations: 15.94 kB / 0.8721 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.1512, allocations: 27.94 kB / 0.8722 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.1515, allocations: 183.4 kB / 0.8723 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-05/0.1515, allocations: 0 / 0.8723 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1515, allocations: 0 / 0.8723 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.1515, allocations: 0 / 0.8723 GB, free: 1.871 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005452/0.1521, allocations: 395.8 kB / 0.8727 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1521, allocations: 8.031 kB / 0.8727 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.1526, allocations: 165.9 kB / 0.8729 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.1527, allocations: 137.5 kB / 0.873 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1528, allocations: 12.06 kB / 0.873 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.1528, allocations: 11.98 kB / 0.873 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.153, allocations: 160.5 kB / 0.8732 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.153, allocations: 4 kB / 0.8732 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.153, allocations: 4 kB / 0.8732 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.153, allocations: 4 kB / 0.8732 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.577e-05/0.1531, allocations: 39.91 kB / 0.8732 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.1536, allocations: 0.5932 MB / 0.8738 GB, free: 240 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1537, allocations: 70.52 kB / 0.8739 GB, free: 160 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.1538, allocations: 24.84 kB / 0.8739 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1538, allocations: 0 / 0.8739 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.1538, allocations: 38.5 kB / 0.8739 GB, free: 84 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1538, allocations: 0 / 0.8739 GB, free: 84 kB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0006206/0.1544, allocations: 217.3 kB / 0.8741 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.1545, allocations: 59.34 kB / 0.8742 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/0.1545, allocations: 145.1 kB / 0.8743 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1545, allocations: 25.7 kB / 0.8744 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.1546, allocations: 108 kB / 0.8745 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.1546, allocations: 31.73 kB / 0.8745 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.1547, allocations: 25.7 kB / 0.8745 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.1547, allocations: 326.8 kB / 0.8748 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.1548, allocations: 15.98 kB / 0.8748 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.537e-05/0.1548, allocations: 56.27 kB / 0.8749 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.1549, allocations: 87.3 kB / 0.875 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1549, allocations: 0 / 0.875 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003079/0.1552, allocations: 157.1 kB / 0.8751 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1552, allocations: 5.406 kB / 0.8751 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1552, allocations: 4 kB / 0.8751 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/0.1556, allocations: 123.7 kB / 0.8753 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1557, allocations: 39.83 kB / 0.8753 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.1568, allocations: 1.337 MB / 0.8766 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.1569, allocations: 15.89 kB / 0.8766 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1569, allocations: 7.984 kB / 0.8766 GB, free: 13.12 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/0.157, allocations: 120.6 kB / 0.8767 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.157, allocations: 11.98 kB / 0.8768 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.1573, allocations: 185.9 kB / 0.8769 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1573, allocations: 0 / 0.8769 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.02e-07/0.1573, allocations: 0 / 0.8769 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1573, allocations: 0 / 0.8769 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.1575, allocations: 113.7 kB / 0.877 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1575, allocations: 0 / 0.877 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.1576, allocations: 35.95 kB / 0.8771 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.1576, allocations: 19.88 kB / 0.8771 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/0.1579, allocations: 114.4 kB / 0.8772 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1579, allocations: 3.984 kB / 0.8772 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008898/0.1588, allocations: 1.35 MB / 0.8785 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1588, allocations: 0 / 0.8785 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.1591, allocations: 245.9 kB / 0.8788 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1591, allocations: 7.984 kB / 0.8788 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.1591, allocations: 4 kB / 0.8788 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1592, allocations: 15.97 kB / 0.8788 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.1592, allocations: 7.938 kB / 0.8788 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.54e-05/0.1592, allocations: 32.81 kB / 0.8788 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.1592, allocations: 0 / 0.8788 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001896/0.1594, allocations: 47.94 kB / 0.8789 GB, free: 10.65 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001447/0.1596, allocations: 92.34 kB / 0.879 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.1598, allocations: 211.3 kB / 0.8792 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1598, allocations: 0 / 0.8792 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.16, allocations: 187.5 kB / 0.8793 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.1602, allocations: 35.97 kB / 0.8794 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1612, allocations: 304.2 kB / 0.8797 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.1613, allocations: 67.84 kB / 0.8797 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.535e-05/0.1614, allocations: 28.42 kB / 0.8798 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.1614, allocations: 67.36 kB / 0.8798 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.1614, allocations: 0 / 0.8798 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of Templates: time 0.004897/0.1663, allocations: 3.427 MB / 0.8832 GB, free: 6.215 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.339491063728929]