Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009997/0.0009997, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001087/0.001087, allocations: 166.3 kB / 24.87 MB, free: 9.211 MB / 18.57 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.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.915/1.915, allocations: 377.9 MB / 0.6247 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8127 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.585e-05, allocations: 4.875 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.005604/0.00562, allocations: 1.938 MB / 0.8146 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1531/0.1587, allocations: 144.9 MB / 0.9561 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1588, allocations: 3.938 kB / 0.9561 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.159, allocations: 35.67 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.1592, allocations: 75.41 kB / 0.9562 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.1597, allocations: 274.9 kB / 0.9565 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1599, allocations: 271 kB / 0.9568 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.16, allocations: 42.61 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008837/0.1609, allocations: 358.4 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.516e-05/0.161, allocations: 71.83 kB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.161, allocations: 12 kB / 0.9572 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.1615, allocations: 187.6 kB / 0.9574 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.1616, allocations: 47.81 kB / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.1616, allocations: 67.81 kB / 0.9575 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1619, allocations: 263.1 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1619, allocations: 7.938 kB / 0.9578 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1619, allocations: 3.938 kB / 0.9578 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1619, allocations: 0 / 0.9578 GB, free: 12.54 MB / 0.9167 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.000573/0.1625, allocations: 0.5466 MB / 0.9583 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1625, allocations: 12.03 kB / 0.9583 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/0.1631, allocations: 151.6 kB / 0.9585 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1633, allocations: 175.7 kB / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.1634, allocations: 63.73 kB / 0.9587 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1634, allocations: 16 kB / 0.9587 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.1636, allocations: 301.3 kB / 0.959 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1637, allocations: 0 / 0.959 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.1637, allocations: 12 kB / 0.959 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1637, allocations: 7.938 kB / 0.959 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.1638, allocations: 75.8 kB / 0.9591 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/0.1646, allocations: 1.39 MB / 0.9604 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.165, allocations: 147.1 kB / 0.9606 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.165, allocations: 43.67 kB / 0.9606 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.165, allocations: 0 / 0.9606 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1651, allocations: 41.39 kB / 0.9607 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.1651, allocations: 0 / 0.9607 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.001106/0.1662, allocations: 384.5 kB / 0.961 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.1662, allocations: 55.34 kB / 0.9611 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1663, allocations: 230.8 kB / 0.9613 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1663, allocations: 29.7 kB / 0.9613 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.1664, allocations: 194.8 kB / 0.9615 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1664, allocations: 39.64 kB / 0.9616 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.1665, allocations: 59.28 kB / 0.9616 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.1666, allocations: 0.4962 MB / 0.9621 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.1666, allocations: 23.97 kB / 0.9621 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.1667, allocations: 111.3 kB / 0.9622 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.1668, allocations: 145.4 kB / 0.9624 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1668, allocations: 0 / 0.9624 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005812/0.1674, allocations: 276.7 kB / 0.9626 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1674, allocations: 10.03 kB / 0.9626 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1674, allocations: 7.969 kB / 0.9626 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007574/0.1682, allocations: 239.1 kB / 0.9629 GB, free: 6.926 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.1683, allocations: 43.91 kB / 0.9629 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.1707, allocations: 3.734 MB / 0.9666 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1708, allocations: 15.89 kB / 0.9666 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1709, allocations: 20.02 kB / 0.9666 GB, free: 2.871 MB / 0.9167 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.637e-05/0.1709, allocations: 164.5 kB / 0.9668 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.171, allocations: 19.84 kB / 0.9668 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.1715, allocations: 286.1 kB / 0.967 GB, free: 2.387 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1715, allocations: 4 kB / 0.967 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-07/0.1715, allocations: 0 / 0.967 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1715, allocations: 4.172 kB / 0.9671 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1717, allocations: 165 kB / 0.9672 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1717, allocations: 3.984 kB / 0.9672 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.1717, allocations: 19.98 kB / 0.9672 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006034/0.1723, allocations: 223.1 kB / 0.9674 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1723, allocations: 4 kB / 0.9674 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/0.1746, allocations: 3.764 MB / 0.9711 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1746, allocations: 0 / 0.9711 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.1751, allocations: 413.1 kB / 0.9715 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.1752, allocations: 31.95 kB / 0.9715 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1752, allocations: 8 kB / 0.9716 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1753, allocations: 7.984 kB / 0.9716 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.1753, allocations: 19.97 kB / 0.9716 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1753, allocations: 7.984 kB / 0.9716 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 6.226e-05/0.1754, allocations: 159.1 kB / 0.9717 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1754, allocations: 0 / 0.9717 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002585/0.1757, allocations: 75.89 kB / 0.9718 GB, free: 13.2 MB / 0.9323 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.0001293/0.1758, allocations: 119.2 kB / 0.9719 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.1762, allocations: 488.8 kB / 0.9724 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1762, allocations: 0 / 0.9724 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.1765, allocations: 439.1 kB / 0.9728 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1768, allocations: 56.27 kB / 0.9729 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.1775, allocations: 416.5 kB / 0.9733 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.569e-05/0.1775, allocations: 84.31 kB / 0.9733 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 8.841e-05/0.1776, allocations: 25.52 kB / 0.9734 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1778, allocations: 122.2 kB / 0.9735 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of SimCode: time 7.82e-07/0.1778, allocations: 0 / 0.9735 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of Templates: time 0.006828/0.1846, allocations: 5.393 MB / 0.9788 GB, free: 6.051 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.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.5845696702599525]