Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009962/0.0009962, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.0009547/0.0009547, allocations: 161.4 kB / 23.82 MB, free: 0.7578 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.9395/0.9395, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.818/1.818, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.303e-05, allocations: 12.78 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002211/0.002244, allocations: 1.712 MB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1369/0.1391, allocations: 143.7 MB / 0.929 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.963e-05/0.1392, allocations: 0 / 0.929 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.1394, allocations: 19.8 kB / 0.9291 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.1396, allocations: 59.56 kB / 0.9291 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.14, allocations: 191.2 kB / 0.9293 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1402, allocations: 167.4 kB / 0.9295 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1403, allocations: 25.28 kB / 0.9295 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009195/0.1412, allocations: 287.7 kB / 0.9298 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.1413, allocations: 51.88 kB / 0.9298 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1413, allocations: 8 kB / 0.9298 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.1416, allocations: 167.6 kB / 0.93 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.1416, allocations: 23.91 kB / 0.93 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.1416, allocations: 39.91 kB / 0.93 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.142, allocations: 207.2 kB / 0.9302 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.142, allocations: 4 kB / 0.9302 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.422e-06/0.142, allocations: 0 / 0.9302 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.142, allocations: 4 kB / 0.9302 GB, free: 9.516 MB / 0.8855 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.0007352/0.1427, allocations: 487.8 kB / 0.9307 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1427, allocations: 8.031 kB / 0.9307 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005041/0.1432, allocations: 88.7 kB / 0.9308 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1434, allocations: 146.5 kB / 0.9309 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1434, allocations: 12.12 kB / 0.931 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1434, allocations: 12 kB / 0.931 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.1437, allocations: 178.5 kB / 0.9311 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1437, allocations: 0 / 0.9311 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.1437, allocations: 11.98 kB / 0.9311 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1438, allocations: 0 / 0.9311 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1439, allocations: 56.89 kB / 0.9312 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007548/0.1446, allocations: 0.9052 MB / 0.9321 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1448, allocations: 87.02 kB / 0.9322 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.1448, allocations: 35.67 kB / 0.9322 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1449, allocations: 4 kB / 0.9322 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.1449, allocations: 33.39 kB / 0.9322 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1449, allocations: 0 / 0.9322 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0007825/0.1457, allocations: 265.1 kB / 0.9325 GB, free: 7.035 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.1457, allocations: 51.41 kB / 0.9325 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.1458, allocations: 205 kB / 0.9327 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1458, allocations: 25.7 kB / 0.9328 GB, free: 6.727 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.1459, allocations: 162.6 kB / 0.9329 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.1459, allocations: 31.75 kB / 0.9329 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1459, allocations: 35.34 kB / 0.933 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1461, allocations: 0.4922 MB / 0.9335 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.459e-05/0.1461, allocations: 27.97 kB / 0.9335 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.1462, allocations: 74.42 kB / 0.9336 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1463, allocations: 106.3 kB / 0.9337 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1463, allocations: 4 kB / 0.9337 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004894/0.1468, allocations: 181.1 kB / 0.9338 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1468, allocations: 12.12 kB / 0.9338 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1468, allocations: 0 / 0.9338 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/0.1473, allocations: 123.5 kB / 0.934 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1474, allocations: 35.91 kB / 0.934 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.1487, allocations: 1.894 MB / 0.9358 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.493e-05/0.1488, allocations: 19.88 kB / 0.9359 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1488, allocations: 7.984 kB / 0.9359 GB, free: 3.324 MB / 0.8855 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.945e-05/0.1489, allocations: 164.5 kB / 0.936 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.1489, allocations: 23.83 kB / 0.9361 GB, free: 3.129 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.1493, allocations: 225.8 kB / 0.9363 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1493, allocations: 4 kB / 0.9363 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1493, allocations: 4 kB / 0.9363 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1493, allocations: 0 / 0.9363 GB, free: 2.891 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.1495, allocations: 168.4 kB / 0.9364 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1495, allocations: 0 / 0.9364 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.687e-05/0.1495, allocations: 19.98 kB / 0.9365 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003401/0.1499, allocations: 119.6 kB / 0.9366 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1499, allocations: 0 / 0.9366 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.1512, allocations: 1.918 MB / 0.9384 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1512, allocations: 7.875 kB / 0.9385 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.1516, allocations: 332.5 kB / 0.9388 GB, free: 156 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.1517, allocations: 31.81 kB / 0.9388 GB, free: 124 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1517, allocations: 4 kB / 0.9388 GB, free: 120 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.1517, allocations: 4 kB / 0.9388 GB, free: 116 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.1518, allocations: 23.91 kB / 0.9388 GB, free: 92 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.1518, allocations: 3.984 kB / 0.9388 GB, free: 88 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.882e-05/0.1519, allocations: 149.8 kB / 0.939 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1519, allocations: 0 / 0.939 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002432/0.1521, allocations: 47.94 kB / 0.939 GB, free: 15.89 MB / 0.9011 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.0001832/0.1523, allocations: 116 kB / 0.9391 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.1527, allocations: 289.3 kB / 0.9394 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1527, allocations: 4.25 kB / 0.9394 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.1529, allocations: 248.2 kB / 0.9396 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.1532, allocations: 35.97 kB / 0.9397 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.154, allocations: 298.6 kB / 0.94 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.871e-05/0.1541, allocations: 75.77 kB / 0.94 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.531e-05/0.1542, allocations: 24.48 kB / 0.9401 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.1542, allocations: 16.48 kB / 0.9401 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of SimCode: time 8.91e-07/0.1542, allocations: 0 / 0.9401 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.005076/0.1593, allocations: 3.236 MB / 0.9432 GB, free: 11.52 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.398787336889654]