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.001319/0.001319, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001817/0.001817, allocations: 185 kB / 24.09 MB, free: 416 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 0.955/0.955, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.943/1.943, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] 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.453e-06/1.453e-06, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.253e-05, allocations: 2.312 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002576/0.002598, allocations: 1.942 MB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1296/0.1322, allocations: 144.9 MB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.1324, allocations: 3.938 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.1325, allocations: 27.73 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.1329, allocations: 79.34 kB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006845/0.1335, allocations: 270.9 kB / 0.9557 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.1339, allocations: 267 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.134, allocations: 46.55 kB / 0.956 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.1352, allocations: 368.7 kB / 0.9564 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1353, allocations: 71.78 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1353, allocations: 12 kB / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.1356, allocations: 183.6 kB / 0.9566 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.1357, allocations: 43.83 kB / 0.9567 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.1358, allocations: 67.81 kB / 0.9567 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.1361, allocations: 267.1 kB / 0.957 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1361, allocations: 0 / 0.957 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1361, allocations: 0 / 0.957 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1361, allocations: 0 / 0.957 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.0006617/0.1368, allocations: 0.5544 MB / 0.9575 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1368, allocations: 11.97 kB / 0.9575 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007799/0.1376, allocations: 151.6 kB / 0.9577 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1378, allocations: 187.6 kB / 0.9579 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.1379, allocations: 59.73 kB / 0.9579 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.1379, allocations: 16 kB / 0.9579 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.1383, allocations: 301.3 kB / 0.9582 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1383, allocations: 0 / 0.9582 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.1383, allocations: 12 kB / 0.9582 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1383, allocations: 7.938 kB / 0.9582 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1384, allocations: 75.81 kB / 0.9583 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.1396, allocations: 1.387 MB / 0.9597 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.14, allocations: 143.2 kB / 0.9598 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.14, allocations: 39.61 kB / 0.9598 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.14, allocations: 3.938 kB / 0.9598 GB, free: 9.406 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1401, allocations: 37.39 kB / 0.9599 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1401, allocations: 0 / 0.9599 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.001337/0.1414, allocations: 388.3 kB / 0.9603 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.1414, allocations: 55.34 kB / 0.9603 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1416, allocations: 238.8 kB / 0.9605 GB, free: 8.652 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1416, allocations: 29.7 kB / 0.9606 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.1417, allocations: 190.9 kB / 0.9607 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.1418, allocations: 47.62 kB / 0.9608 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.1418, allocations: 47.3 kB / 0.9608 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.142, allocations: 0.4962 MB / 0.9613 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.142, allocations: 27.97 kB / 0.9613 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.489e-05/0.1421, allocations: 107.3 kB / 0.9614 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.1423, allocations: 151.3 kB / 0.9616 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1423, allocations: 0 / 0.9616 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007133/0.143, allocations: 284.7 kB / 0.9619 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.143, allocations: 4 kB / 0.9619 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.143, allocations: 4 kB / 0.9619 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.1444, allocations: 243.1 kB / 0.9621 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1445, allocations: 43.89 kB / 0.9621 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.1473, allocations: 3.737 MB / 0.9658 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.1474, allocations: 19.89 kB / 0.9658 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.1475, allocations: 11.98 kB / 0.9658 GB, free: 2.875 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 0.00011/0.1476, allocations: 164.5 kB / 0.966 GB, free: 2.703 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.1476, allocations: 19.91 kB / 0.966 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/0.1482, allocations: 286.1 kB / 0.9663 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1482, allocations: 0 / 0.9663 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1482, allocations: 4 kB / 0.9663 GB, free: 2.387 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1483, allocations: 3.984 kB / 0.9663 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.1485, allocations: 169 kB / 0.9664 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1485, allocations: 0 / 0.9664 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.1485, allocations: 23.98 kB / 0.9665 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005494/0.1491, allocations: 215.2 kB / 0.9667 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1491, allocations: 8 kB / 0.9667 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.1513, allocations: 3.772 MB / 0.9704 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1513, allocations: 0 / 0.9704 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.1518, allocations: 409.1 kB / 0.9708 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.1518, allocations: 27.83 kB / 0.9708 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1519, allocations: 11.98 kB / 0.9708 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.152, allocations: 4 kB / 0.9708 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.152, allocations: 15.97 kB / 0.9708 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.152, allocations: 7.984 kB / 0.9708 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 6.793e-05/0.1521, allocations: 163.1 kB / 0.971 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1521, allocations: 0 / 0.971 GB, free: 13.28 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003026/0.1524, allocations: 75.89 kB / 0.971 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.0001641/0.1526, allocations: 119.1 kB / 0.9712 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.153, allocations: 490.9 kB / 0.9716 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.153, allocations: 0 / 0.9716 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.1533, allocations: 439.6 kB / 0.972 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.0002716/0.1536, allocations: 57.83 kB / 0.9721 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/0.1544, allocations: 407.4 kB / 0.9725 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.12e-05/0.1544, allocations: 80.31 kB / 0.9726 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 9.94e-05/0.1545, allocations: 29.47 kB / 0.9726 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1547, allocations: 118.2 kB / 0.9727 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of SimCode: time 7.72e-07/0.1547, allocations: 0 / 0.9727 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of Templates: time 0.00735/0.162, allocations: 5.316 MB / 0.9779 GB, free: 6.133 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.578824546188116]