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.001504/0.001504, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001739/0.001739, allocations: 169 kB / 24.28 MB, free: 276 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.9568/0.9568, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.907/1.907, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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_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.773e-06/1.773e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.213e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002656/0.002688, allocations: 1.711 MB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1347/0.1374, allocations: 145.3 MB / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1375, allocations: 0 / 0.9551 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.1377, allocations: 31.73 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.1379, allocations: 51.62 kB / 0.9552 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1383, allocations: 191.1 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1385, allocations: 171.4 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1386, allocations: 29.27 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009729/0.1396, allocations: 282 kB / 0.9558 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.1397, allocations: 47.88 kB / 0.9558 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.1397, allocations: 8 kB / 0.9559 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.1402, allocations: 159.7 kB / 0.956 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.1402, allocations: 27.89 kB / 0.956 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.1403, allocations: 35.92 kB / 0.9561 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.1406, allocations: 211.2 kB / 0.9563 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1406, allocations: 0 / 0.9563 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1406, allocations: 4 kB / 0.9563 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1406, allocations: 0 / 0.9563 GB, free: 13.42 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000588/0.1412, allocations: 491.8 kB / 0.9567 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1412, allocations: 8.031 kB / 0.9568 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005109/0.1417, allocations: 84.7 kB / 0.9568 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.1419, allocations: 159.7 kB / 0.957 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1419, allocations: 8 kB / 0.957 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1419, allocations: 4 kB / 0.957 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.1422, allocations: 184.6 kB / 0.9572 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1422, allocations: 3.984 kB / 0.9572 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1422, allocations: 4 kB / 0.9572 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1422, allocations: 4 kB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1423, allocations: 55.28 kB / 0.9572 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007059/0.143, allocations: 0.9013 MB / 0.9581 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1432, allocations: 91.02 kB / 0.9582 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.1433, allocations: 35.67 kB / 0.9582 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1433, allocations: 3.938 kB / 0.9582 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1433, allocations: 45.33 kB / 0.9583 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.983e-06/0.1433, allocations: 0 / 0.9583 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0007907/0.1441, allocations: 249 kB / 0.9585 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.1441, allocations: 55.34 kB / 0.9586 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1442, allocations: 200.1 kB / 0.9588 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1443, allocations: 25.7 kB / 0.9588 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.1443, allocations: 170.7 kB / 0.959 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.1443, allocations: 27.91 kB / 0.959 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.1444, allocations: 35.34 kB / 0.959 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1445, allocations: 0.4922 MB / 0.9595 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.786e-05/0.1446, allocations: 31.98 kB / 0.9595 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.1446, allocations: 70.36 kB / 0.9596 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1448, allocations: 118.3 kB / 0.9597 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1448, allocations: 0 / 0.9597 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004046/0.1452, allocations: 189.2 kB / 0.9599 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1452, allocations: 4 kB / 0.9599 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1452, allocations: 7.984 kB / 0.9599 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000469/0.1457, allocations: 127.5 kB / 0.96 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.1458, allocations: 23.97 kB / 0.96 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.1471, allocations: 1.912 MB / 0.9619 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.1472, allocations: 11.98 kB / 0.9619 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1472, allocations: 4 kB / 0.9619 GB, free: 7.215 MB / 0.9167 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 8.726e-05/0.1473, allocations: 168.5 kB / 0.9621 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.1473, allocations: 15.98 kB / 0.9621 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.1477, allocations: 223.7 kB / 0.9623 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1477, allocations: 0 / 0.9623 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.1477, allocations: 0 / 0.9623 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1477, allocations: 3.938 kB / 0.9623 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1479, allocations: 168.3 kB / 0.9625 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1479, allocations: 0 / 0.9625 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.736e-05/0.148, allocations: 23.98 kB / 0.9625 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/0.1483, allocations: 115.6 kB / 0.9626 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1483, allocations: 12 kB / 0.9626 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.1495, allocations: 1.922 MB / 0.9645 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1495, allocations: 0 / 0.9645 GB, free: 4.387 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.1499, allocations: 339.4 kB / 0.9648 GB, free: 4.031 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.15, allocations: 27.88 kB / 0.9648 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.15, allocations: 4 kB / 0.9649 GB, free: 4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.938e-05/0.1501, allocations: 8 kB / 0.9649 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.1501, allocations: 15.97 kB / 0.9649 GB, free: 3.977 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1502, allocations: 7.984 kB / 0.9649 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.1502, allocations: 139.2 kB / 0.965 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.1502, allocations: 4 kB / 0.965 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002375/0.1504, allocations: 51.94 kB / 0.9651 GB, free: 3.777 MB / 0.9167 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.0001754/0.1506, allocations: 111.1 kB / 0.9652 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.151, allocations: 289.6 kB / 0.9655 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.151, allocations: 0 / 0.9655 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1512, allocations: 256.3 kB / 0.9657 GB, free: 3.078 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1515, allocations: 27.97 kB / 0.9657 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000784/0.1522, allocations: 294.6 kB / 0.966 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.1524, allocations: 71.83 kB / 0.9661 GB, free: 2.645 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.873e-05/0.1524, allocations: 28.55 kB / 0.9661 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.1525, allocations: 20.48 kB / 0.9661 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/0.1525, allocations: 0 / 0.9661 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of Templates: time 0.006863/0.1594, allocations: 3.258 MB / 0.9693 GB, free: 15.39 MB / 0.9323 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.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.263201270950958]