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.001361/0.001361, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001585/0.001585, allocations: 169.3 kB / 24.28 MB, free: 280 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.9402/0.9402, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.774/1.774, allocations: 359 MB / 0.6055 GB, free: 11.01 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.834e-06/1.834e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.656e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.007484/0.007511, allocations: 1.711 MB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1476/0.1551, allocations: 145.3 MB / 0.9306 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1552, allocations: 4 kB / 0.9306 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.1554, allocations: 31.73 kB / 0.9307 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.1556, allocations: 51.62 kB / 0.9307 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1561, allocations: 195.1 kB / 0.9309 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1562, allocations: 163.5 kB / 0.9311 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1564, allocations: 33.17 kB / 0.9311 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009466/0.1573, allocations: 285.2 kB / 0.9314 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.1574, allocations: 51.88 kB / 0.9314 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1574, allocations: 8 kB / 0.9314 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.1576, allocations: 159.7 kB / 0.9316 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.1577, allocations: 31.89 kB / 0.9316 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.1577, allocations: 31.92 kB / 0.9316 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.158, allocations: 207.2 kB / 0.9318 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.158, allocations: 0 / 0.9318 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/0.158, allocations: 8 kB / 0.9318 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.158, allocations: 0 / 0.9318 GB, free: 8.164 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.0005799/0.1586, allocations: 491.8 kB / 0.9323 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1587, allocations: 8.031 kB / 0.9323 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005019/0.1592, allocations: 88.7 kB / 0.9324 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1593, allocations: 147.8 kB / 0.9326 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1593, allocations: 8 kB / 0.9326 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1594, allocations: 12 kB / 0.9326 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.1596, allocations: 178.3 kB / 0.9327 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1596, allocations: 0 / 0.9327 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1596, allocations: 11.98 kB / 0.9328 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1596, allocations: 0 / 0.9328 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1598, allocations: 59.89 kB / 0.9328 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.1604, allocations: 0.8974 MB / 0.9337 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1606, allocations: 83.03 kB / 0.9338 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.1607, allocations: 39.66 kB / 0.9338 GB, free: 6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1607, allocations: 7.938 kB / 0.9338 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1607, allocations: 41.33 kB / 0.9338 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1607, allocations: 0 / 0.9338 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0007609/0.1615, allocations: 249.1 kB / 0.9341 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.1615, allocations: 55.34 kB / 0.9341 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1616, allocations: 200.1 kB / 0.9343 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1616, allocations: 25.7 kB / 0.9344 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.1617, allocations: 162.8 kB / 0.9345 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1617, allocations: 31.89 kB / 0.9345 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.1617, allocations: 43.28 kB / 0.9346 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1619, allocations: 0.4922 MB / 0.9351 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.1619, allocations: 23.97 kB / 0.9351 GB, free: 4.605 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.162, allocations: 74.42 kB / 0.9352 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1621, allocations: 110.3 kB / 0.9353 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1621, allocations: 0 / 0.9353 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003917/0.1625, allocations: 185.2 kB / 0.9354 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1625, allocations: 8 kB / 0.9354 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1625, allocations: 0 / 0.9354 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/0.163, allocations: 127.5 kB / 0.9356 GB, free: 4.055 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.887e-05/0.1631, allocations: 31.92 kB / 0.9356 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.1644, allocations: 1.907 MB / 0.9375 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.1645, allocations: 11.95 kB / 0.9375 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1645, allocations: 11.98 kB / 0.9375 GB, free: 1.969 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.327e-05/0.1646, allocations: 164.5 kB / 0.9376 GB, free: 1.797 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.1646, allocations: 15.98 kB / 0.9377 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.165, allocations: 228.3 kB / 0.9379 GB, free: 1.551 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.165, allocations: 4 kB / 0.9379 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.165, allocations: 0 / 0.9379 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.165, allocations: 7.922 kB / 0.9379 GB, free: 1.539 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.1652, allocations: 160.5 kB / 0.938 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1652, allocations: 0 / 0.938 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.1653, allocations: 23.97 kB / 0.9381 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000317/0.1656, allocations: 119.6 kB / 0.9382 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1656, allocations: 0 / 0.9382 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.1667, allocations: 1.929 MB / 0.9401 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1667, allocations: 3.938 kB / 0.9401 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.1671, allocations: 343.4 kB / 0.9404 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1672, allocations: 31.88 kB / 0.9404 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1672, allocations: 0 / 0.9404 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.201e-05/0.1672, allocations: 4 kB / 0.9404 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.1673, allocations: 19.97 kB / 0.9404 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1673, allocations: 0 / 0.9404 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 5.448e-05/0.1674, allocations: 153.6 kB / 0.9406 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1674, allocations: 4 kB / 0.9406 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002247/0.1676, allocations: 43.94 kB / 0.9406 GB, free: 14.53 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.0001659/0.1678, allocations: 115.1 kB / 0.9407 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.1681, allocations: 289.6 kB / 0.941 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1681, allocations: 0 / 0.941 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.1683, allocations: 249.3 kB / 0.9413 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.1686, allocations: 19.98 kB / 0.9413 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.1693, allocations: 304 kB / 0.9416 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.1694, allocations: 71.83 kB / 0.9416 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 8.182e-05/0.1694, allocations: 24.42 kB / 0.9417 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.1695, allocations: 16.5 kB / 0.9417 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of SimCode: time 8.32e-07/0.1695, allocations: 0 / 0.9417 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of Templates: time 0.004826/0.1743, allocations: 3.238 MB / 0.9448 GB, free: 10.18 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.359334020875394]