Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009406/0.0009406, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009191/0.0009191, allocations: 173 kB / 23.5 MB, free: 1.055 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 0.9695/0.9695, allocations: 177.1 MB / 203.8 MB, free: 5.602 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.142/2.142, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.428e-05, allocations: 6.609 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002156/0.00218, allocations: 1.723 MB / 0.8798 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1242/0.1264, allocations: 145.3 MB / 1.022 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1265, allocations: 0 / 1.022 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.1266, allocations: 31.73 kB / 1.022 GB, free: 3.074 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.1269, allocations: 63.44 kB / 1.022 GB, free: 3.012 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1273, allocations: 191.2 kB / 1.022 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1275, allocations: 163.4 kB / 1.022 GB, free: 2.664 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1276, allocations: 29.22 kB / 1.022 GB, free: 2.637 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009487/0.1285, allocations: 275.6 kB / 1.022 GB, free: 2.426 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.1286, allocations: 47.88 kB / 1.023 GB, free: 2.379 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.1286, allocations: 8 kB / 1.023 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.1289, allocations: 163.7 kB / 1.023 GB, free: 2.211 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.1289, allocations: 23.91 kB / 1.023 GB, free: 2.188 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 5.21e-05/0.129, allocations: 39.91 kB / 1.023 GB, free: 2.148 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1293, allocations: 211.3 kB / 1.023 GB, free: 1.941 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1293, allocations: 0 / 1.023 GB, free: 1.941 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1293, allocations: 0 / 1.023 GB, free: 1.941 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1293, allocations: 0 / 1.023 GB, free: 1.941 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006173/0.1299, allocations: 483.5 kB / 1.023 GB, free: 1.434 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1299, allocations: 16.03 kB / 1.023 GB, free: 1.418 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005291/0.1305, allocations: 88.62 kB / 1.024 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.1307, allocations: 157.8 kB / 1.024 GB, free: 1.152 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1307, allocations: 11.94 kB / 1.024 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1307, allocations: 8 kB / 1.024 GB, free: 1.133 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.131, allocations: 172.7 kB / 1.024 GB, free: 0.9336 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.131, allocations: 0 / 1.024 GB, free: 0.9336 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.131, allocations: 4 kB / 1.024 GB, free: 0.9297 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.131, allocations: 4 kB / 1.024 GB, free: 0.9258 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1311, allocations: 62.7 kB / 1.024 GB, free: 0.8672 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007323/0.1318, allocations: 0.9052 MB / 1.025 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.132, allocations: 91.02 kB / 1.025 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.522e-05/0.1321, allocations: 43.61 kB / 1.025 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1321, allocations: 3.938 kB / 1.025 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1321, allocations: 37.55 kB / 1.025 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1321, allocations: 0 / 1.025 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0008102/0.1329, allocations: 253 kB / 1.025 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.1329, allocations: 59.41 kB / 1.025 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1331, allocations: 200.1 kB / 1.025 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1331, allocations: 29.7 kB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.1331, allocations: 158.8 kB / 1.026 GB, free: 14.97 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1332, allocations: 23.8 kB / 1.026 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.1332, allocations: 43.3 kB / 1.026 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1333, allocations: 0.4883 MB / 1.026 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.858e-05/0.1334, allocations: 27.97 kB / 1.026 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.669e-05/0.1335, allocations: 70.42 kB / 1.026 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1336, allocations: 118.3 kB / 1.026 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1336, allocations: 4 kB / 1.026 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003999/0.134, allocations: 189.4 kB / 1.027 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.134, allocations: 7.938 kB / 1.027 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.134, allocations: 4 kB / 1.027 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004794/0.1345, allocations: 131.6 kB / 1.027 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1346, allocations: 27.97 kB / 1.027 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.136, allocations: 1.904 MB / 1.029 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.136, allocations: 19.88 kB / 1.029 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1361, allocations: 8 kB / 1.029 GB, free: 11.71 MB / 0.9948 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.209e-05/0.1361, allocations: 164.5 kB / 1.029 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.1362, allocations: 11.95 kB / 1.029 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.1366, allocations: 213.9 kB / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1366, allocations: 0 / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.1366, allocations: 0 / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1366, allocations: 3.938 kB / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.1367, allocations: 176.5 kB / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1367, allocations: 0 / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.1368, allocations: 27.98 kB / 1.029 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.1372, allocations: 111.6 kB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1372, allocations: 4 kB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.1383, allocations: 1.919 MB / 1.031 GB, free: 8.906 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1383, allocations: 0 / 1.031 GB, free: 8.906 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.1387, allocations: 341.5 kB / 1.031 GB, free: 8.551 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.1388, allocations: 27.86 kB / 1.032 GB, free: 8.523 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1388, allocations: 8 kB / 1.032 GB, free: 8.516 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.1388, allocations: 4 kB / 1.032 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.1389, allocations: 19.97 kB / 1.032 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1389, allocations: 7.984 kB / 1.032 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.139, allocations: 143.2 kB / 1.032 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.139, allocations: 0 / 1.032 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002301/0.1392, allocations: 51.89 kB / 1.032 GB, free: 8.293 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 (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.0001837/0.1394, allocations: 115 kB / 1.032 GB, free: 8.168 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.1398, allocations: 293.6 kB / 1.032 GB, free: 7.859 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1398, allocations: 0 / 1.032 GB, free: 7.859 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.14, allocations: 249.4 kB / 1.032 GB, free: 7.594 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.1402, allocations: 23.98 kB / 1.032 GB, free: 7.57 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.1411, allocations: 305 kB / 1.033 GB, free: 7.25 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.602e-05/0.1411, allocations: 75.77 kB / 1.033 GB, free: 7.156 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 8.534e-05/0.1412, allocations: 24.42 kB / 1.033 GB, free: 7.133 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.1412, allocations: 20.48 kB / 1.033 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of SimCode: time 1.142e-06/0.1412, allocations: 0 / 1.033 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of Templates: time 0.005093/0.1463, allocations: 3.25 MB / 1.036 GB, free: 3.918 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.549514959100634]