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.0009901/0.0009901, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001173/0.001173, allocations: 161 kB / 24.17 MB, free: 328 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 1.062/1.062, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.009/2.009, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.442e-06/1.442e-06, allocations: 0.875 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.493e-05, allocations: 2.844 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002551/0.002576, allocations: 1.772 MB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.141/0.1436, allocations: 143.1 MB / 0.9015 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.1437, allocations: 0 / 0.9015 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1438, allocations: 19.86 kB / 0.9015 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.1441, allocations: 55.52 kB / 0.9016 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.1445, allocations: 183.2 kB / 0.9017 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1447, allocations: 171.4 kB / 0.9019 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1448, allocations: 17.95 kB / 0.9019 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009726/0.1458, allocations: 280.2 kB / 0.9022 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.537e-05/0.1459, allocations: 55.86 kB / 0.9022 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1459, allocations: 8 kB / 0.9022 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.1462, allocations: 171.7 kB / 0.9024 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1462, allocations: 27.91 kB / 0.9024 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.1463, allocations: 35.91 kB / 0.9025 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.1466, allocations: 203.3 kB / 0.9027 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1466, allocations: 11.94 kB / 0.9027 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1466, allocations: 0 / 0.9027 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.1466, allocations: 0 / 0.9027 GB, free: 4.289 MB / 0.8542 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.0005044/0.1471, allocations: 360.1 kB / 0.903 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1472, allocations: 8.031 kB / 0.903 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/0.1476, allocations: 92.78 kB / 0.9031 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.1478, allocations: 136.3 kB / 0.9032 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1478, allocations: 20.02 kB / 0.9033 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1478, allocations: 4 kB / 0.9033 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.1481, allocations: 166.5 kB / 0.9034 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1481, allocations: 4 kB / 0.9034 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1481, allocations: 0 / 0.9034 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1481, allocations: 4 kB / 0.9034 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.1482, allocations: 42.58 kB / 0.9035 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.1488, allocations: 0.6009 MB / 0.9041 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.1489, allocations: 70.47 kB / 0.9041 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.149, allocations: 28.84 kB / 0.9042 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.149, allocations: 0 / 0.9042 GB, free: 2.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.149, allocations: 34.56 kB / 0.9042 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.149, allocations: 0 / 0.9042 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006678/0.1497, allocations: 217.1 kB / 0.9044 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.1497, allocations: 51.41 kB / 0.9044 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.1498, allocations: 142.8 kB / 0.9046 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1498, allocations: 25.7 kB / 0.9046 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.1498, allocations: 108.1 kB / 0.9047 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.1499, allocations: 27.73 kB / 0.9047 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.1499, allocations: 37.69 kB / 0.9048 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.15, allocations: 322.8 kB / 0.9051 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.1501, allocations: 15.98 kB / 0.9051 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.1501, allocations: 52.27 kB / 0.9051 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1502, allocations: 75.03 kB / 0.9052 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.1502, allocations: 3.984 kB / 0.9052 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003651/0.1506, allocations: 165 kB / 0.9054 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1506, allocations: 4 kB / 0.9054 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1506, allocations: 4.125 kB / 0.9054 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.1511, allocations: 123.6 kB / 0.9055 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1512, allocations: 27.91 kB / 0.9055 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.1524, allocations: 1.334 MB / 0.9068 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.1525, allocations: 19.89 kB / 0.9068 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1525, allocations: 7.984 kB / 0.9069 GB, free: 15.68 MB / 0.8698 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 7.297e-05/0.1526, allocations: 116.7 kB / 0.907 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1526, allocations: 7.984 kB / 0.907 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.153, allocations: 185.9 kB / 0.9071 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.153, allocations: 0 / 0.9071 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.153, allocations: 0 / 0.9071 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.153, allocations: 4 kB / 0.9072 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.1531, allocations: 109.8 kB / 0.9073 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1531, allocations: 0 / 0.9073 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.1532, allocations: 23.97 kB / 0.9073 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003264/0.1535, allocations: 122.3 kB / 0.9074 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1535, allocations: 3.938 kB / 0.9074 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009874/0.1545, allocations: 1.35 MB / 0.9087 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1545, allocations: 0 / 0.9087 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.1549, allocations: 256.3 kB / 0.909 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.1549, allocations: 19.94 kB / 0.909 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1549, allocations: 0 / 0.909 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.155, allocations: 12 kB / 0.909 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.1551, allocations: 15.97 kB / 0.909 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1551, allocations: 7.922 kB / 0.909 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.1551, allocations: 31.08 kB / 0.909 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1551, allocations: 0 / 0.909 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002263/0.1553, allocations: 43.94 kB / 0.9091 GB, free: 13.21 MB / 0.8698 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.0001544/0.1555, allocations: 100.3 kB / 0.9092 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.1558, allocations: 203.3 kB / 0.9094 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.1558, allocations: 3.938 kB / 0.9094 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.156, allocations: 183.6 kB / 0.9096 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.1562, allocations: 36.73 kB / 0.9096 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007757/0.157, allocations: 295.6 kB / 0.9099 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.136e-05/0.157, allocations: 67.84 kB / 0.9099 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.69e-05/0.1571, allocations: 28.42 kB / 0.91 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.1574, allocations: 79.34 kB / 0.91 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/0.1574, allocations: 0 / 0.91 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of Templates: time 0.004982/0.1624, allocations: 3.335 MB / 0.9133 GB, free: 8.867 MB / 0.8698 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 -s gbode -gbm=radauIIA3 -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.440101198852062]