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.001508/0.001508, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001842/0.001842, allocations: 165 kB / 24.05 MB, free: 448 kB / 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.074/1.074, allocations: 177.1 MB / 204.5 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.082/2.082, allocations: 429.5 MB / 0.6743 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.353e-06/1.353e-06, allocations: 0 / 0.8794 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.548e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002196/0.002212, allocations: 1.951 MB / 0.8813 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1488/0.151, allocations: 144.9 MB / 1.023 GB, free: 2.566 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.1511, allocations: 7.875 kB / 1.023 GB, free: 2.559 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.1513, allocations: 27.73 kB / 1.023 GB, free: 2.531 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.1516, allocations: 83.34 kB / 1.023 GB, free: 2.449 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.1523, allocations: 270.9 kB / 1.023 GB, free: 2.184 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.1526, allocations: 271 kB / 1.023 GB, free: 1.918 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1527, allocations: 50.59 kB / 1.023 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00094/0.1537, allocations: 360.1 kB / 1.024 GB, free: 1.578 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1538, allocations: 71.83 kB / 1.024 GB, free: 1.508 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.1538, allocations: 12 kB / 1.024 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.1541, allocations: 183.6 kB / 1.024 GB, free: 1.316 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.1542, allocations: 47.81 kB / 1.024 GB, free: 1.27 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.1543, allocations: 67.81 kB / 1.024 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.1547, allocations: 267.1 kB / 1.024 GB, free: 0.9414 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1547, allocations: 8 kB / 1.024 GB, free: 0.9336 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1547, allocations: 0 / 1.024 GB, free: 0.9336 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1547, allocations: 0 / 1.024 GB, free: 0.9336 MB / 0.9792 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.0005884/0.1553, allocations: 0.5385 MB / 1.025 GB, free: 368 kB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1553, allocations: 19.97 kB / 1.025 GB, free: 348 kB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/0.1559, allocations: 155.5 kB / 1.025 GB, free: 192 kB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1561, allocations: 179.7 kB / 1.025 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.1562, allocations: 63.73 kB / 1.025 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1562, allocations: 16 kB / 1.025 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.1565, allocations: 297.2 kB / 1.026 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1565, allocations: 0 / 1.026 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.1565, allocations: 12 kB / 1.026 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1565, allocations: 11.94 kB / 1.026 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.753e-05/0.1566, allocations: 71.81 kB / 1.026 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.1575, allocations: 1.383 MB / 1.027 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.1579, allocations: 147.1 kB / 1.027 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.543e-05/0.1579, allocations: 39.67 kB / 1.027 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.158, allocations: 3.938 kB / 1.027 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.158, allocations: 41.39 kB / 1.027 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.158, allocations: 4 kB / 1.027 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12): time 0.001178/0.1592, allocations: 376.5 kB / 1.028 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.1592, allocations: 59.34 kB / 1.028 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.1593, allocations: 227.1 kB / 1.028 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1593, allocations: 29.7 kB / 1.028 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.1594, allocations: 198.8 kB / 1.028 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.1594, allocations: 35.69 kB / 1.028 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.175e-05/0.1595, allocations: 55.28 kB / 1.028 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1597, allocations: 0.4962 MB / 1.029 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.1597, allocations: 23.97 kB / 1.029 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.127e-05/0.1598, allocations: 111.3 kB / 1.029 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1599, allocations: 145.4 kB / 1.029 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1599, allocations: 0 / 1.029 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005923/0.1605, allocations: 295.4 kB / 1.029 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1605, allocations: 8 kB / 1.029 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1605, allocations: 3.938 kB / 1.029 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007874/0.1613, allocations: 247.1 kB / 1.03 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.913e-05/0.1614, allocations: 39.91 kB / 1.03 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.1637, allocations: 3.736 MB / 1.033 GB, free: 7.305 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1638, allocations: 15.89 kB / 1.033 GB, free: 7.289 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1638, allocations: 15.98 kB / 1.033 GB, free: 7.273 MB / 0.9948 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.815e-05/0.1639, allocations: 164.5 kB / 1.033 GB, free: 7.102 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.164, allocations: 15.94 kB / 1.033 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006851/0.1647, allocations: 293.9 kB / 1.034 GB, free: 6.789 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1647, allocations: 4.188 kB / 1.034 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1647, allocations: 4 kB / 1.034 GB, free: 6.781 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1647, allocations: 3.984 kB / 1.034 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.1648, allocations: 169.1 kB / 1.034 GB, free: 6.586 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1648, allocations: 0 / 1.034 GB, free: 6.586 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.594e-05/0.1649, allocations: 19.98 kB / 1.034 GB, free: 6.566 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006242/0.1655, allocations: 215.1 kB / 1.034 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1655, allocations: 4 kB / 1.034 GB, free: 6.344 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.1677, allocations: 3.762 MB / 1.038 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1677, allocations: 0 / 1.038 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.1683, allocations: 412.9 kB / 1.038 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1683, allocations: 31.83 kB / 1.038 GB, free: 1.879 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1683, allocations: 4 kB / 1.038 GB, free: 1.875 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1684, allocations: 11.98 kB / 1.038 GB, free: 1.863 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.1685, allocations: 19.97 kB / 1.038 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.1685, allocations: 7.984 kB / 1.038 GB, free: 1.836 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.777e-05/0.1686, allocations: 164.2 kB / 1.038 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1686, allocations: 0 / 1.038 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003054/0.1689, allocations: 75.89 kB / 1.038 GB, free: 1.602 MB / 0.9948 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.0001673/0.1691, allocations: 115.2 kB / 1.039 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005136/0.1696, allocations: 487 kB / 1.039 GB, free: 0.9648 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1696, allocations: 0 / 1.039 GB, free: 0.9648 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.1699, allocations: 443.6 kB / 1.039 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.1702, allocations: 51.83 kB / 1.039 GB, free: 452 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.1709, allocations: 413.2 kB / 1.04 GB, free: 12 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.916e-05/0.171, allocations: 80.31 kB / 1.04 GB, free: 15.91 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.266e-05/0.1711, allocations: 33.45 kB / 1.04 GB, free: 15.88 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.1712, allocations: 118.2 kB / 1.04 GB, free: 15.76 MB / 1.01 GB Notification: Performance of SimCode: time 6.92e-07/0.1712, allocations: 0 / 1.04 GB, free: 15.76 MB / 1.01 GB Notification: Performance of Templates: time 0.006536/0.1777, allocations: 5.389 MB / 1.045 GB, free: 10.45 MB / 1.01 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.189546420704573]