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.001423/0.001423, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001072/0.001072, allocations: 169 kB / 23.02 MB, free: 1.551 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.9198/0.9198, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.144/2.144, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.493e-06/1.493e-06, allocations: 0 / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.287e-05, allocations: 3.062 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.005397/0.00542, allocations: 1.737 MB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1563/0.1617, allocations: 143.7 MB / 1.02 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.1618, allocations: 0 / 1.02 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.162, allocations: 19.8 kB / 1.02 GB, free: 4.406 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.1622, allocations: 55.56 kB / 1.02 GB, free: 4.352 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.1625, allocations: 191.2 kB / 1.02 GB, free: 4.164 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.1626, allocations: 167.4 kB / 1.021 GB, free: 4 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1627, allocations: 21.3 kB / 1.021 GB, free: 3.977 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008439/0.1636, allocations: 276 kB / 1.021 GB, free: 3.766 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.807e-05/0.1637, allocations: 51.86 kB / 1.021 GB, free: 3.715 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1637, allocations: 8 kB / 1.021 GB, free: 3.707 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.1639, allocations: 167.7 kB / 1.021 GB, free: 3.543 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.1639, allocations: 27.91 kB / 1.021 GB, free: 3.516 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.164, allocations: 39.91 kB / 1.021 GB, free: 3.477 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.1642, allocations: 207.2 kB / 1.021 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1642, allocations: 0 / 1.021 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1642, allocations: 0 / 1.021 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1642, allocations: 0 / 1.021 GB, free: 3.273 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.0005346/0.1648, allocations: 491.5 kB / 1.022 GB, free: 2.758 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1648, allocations: 8.031 kB / 1.022 GB, free: 2.75 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004553/0.1653, allocations: 92.64 kB / 1.022 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1654, allocations: 152.4 kB / 1.022 GB, free: 2.484 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1654, allocations: 12.12 kB / 1.022 GB, free: 2.473 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1654, allocations: 8 kB / 1.022 GB, free: 2.465 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1657, allocations: 174 kB / 1.022 GB, free: 2.266 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1657, allocations: 4 kB / 1.022 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1657, allocations: 4 kB / 1.022 GB, free: 2.258 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1657, allocations: 4 kB / 1.022 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1658, allocations: 59.89 kB / 1.022 GB, free: 2.195 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.1664, allocations: 0.8936 MB / 1.023 GB, free: 1.246 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1666, allocations: 98.95 kB / 1.023 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.1666, allocations: 35.67 kB / 1.023 GB, free: 1.098 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1667, allocations: 4 kB / 1.023 GB, free: 1.094 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1667, allocations: 37.38 kB / 1.023 GB, free: 1.047 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1667, allocations: 0 / 1.023 GB, free: 1.047 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8): time 0.0007405/0.1674, allocations: 265 kB / 1.024 GB, free: 0.7773 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.1674, allocations: 51.41 kB / 1.024 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.1675, allocations: 205.9 kB / 1.024 GB, free: 0.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1676, allocations: 29.69 kB / 1.024 GB, free: 476 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.1676, allocations: 154.7 kB / 1.024 GB, free: 316 kB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.1676, allocations: 27.94 kB / 1.024 GB, free: 288 kB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.1677, allocations: 35.31 kB / 1.024 GB, free: 244 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1678, allocations: 0.4961 MB / 1.025 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.111e-05/0.1678, allocations: 23.98 kB / 1.025 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.1679, allocations: 90.33 kB / 1.025 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.168, allocations: 106.3 kB / 1.025 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.168, allocations: 0 / 1.025 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000387/0.1684, allocations: 189.1 kB / 1.025 GB, free: 15.28 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1684, allocations: 8 kB / 1.025 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1684, allocations: 0 / 1.025 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004497/0.1689, allocations: 123.7 kB / 1.025 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.169, allocations: 27.97 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.1702, allocations: 1.908 MB / 1.027 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.1703, allocations: 15.92 kB / 1.027 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1703, allocations: 11.98 kB / 1.027 GB, free: 13.06 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.617e-05/0.1704, allocations: 160.6 kB / 1.027 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.1704, allocations: 19.89 kB / 1.027 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.1708, allocations: 205.9 kB / 1.027 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1708, allocations: 4 kB / 1.027 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1708, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1708, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.171, allocations: 188.4 kB / 1.028 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.171, allocations: 0 / 1.028 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.171, allocations: 23.97 kB / 1.028 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000318/0.1714, allocations: 115.7 kB / 1.028 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1714, allocations: 3.984 kB / 1.028 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.1724, allocations: 1.911 MB / 1.03 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1724, allocations: 7.969 kB / 1.03 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.1728, allocations: 339.3 kB / 1.03 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.1728, allocations: 23.88 kB / 1.03 GB, free: 9.863 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1728, allocations: 4 kB / 1.03 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.1729, allocations: 11.98 kB / 1.03 GB, free: 9.848 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.173, allocations: 15.97 kB / 1.03 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.173, allocations: 7.938 kB / 1.03 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.173, allocations: 151.2 kB / 1.03 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.173, allocations: 0 / 1.03 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002652/0.1733, allocations: 43.94 kB / 1.03 GB, free: 9.633 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.0001388/0.1734, allocations: 115.1 kB / 1.03 GB, free: 9.512 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.1738, allocations: 289.3 kB / 1.03 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1738, allocations: 0 / 1.03 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.174, allocations: 245.4 kB / 1.031 GB, free: 8.945 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.1742, allocations: 38.47 kB / 1.031 GB, free: 8.91 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.1749, allocations: 314.4 kB / 1.031 GB, free: 8.578 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.541e-05/0.175, allocations: 75.77 kB / 1.031 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.519e-05/0.175, allocations: 20.62 kB / 1.031 GB, free: 8.465 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.1751, allocations: 20.48 kB / 1.031 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of SimCode: time 9.82e-07/0.1751, allocations: 0 / 1.031 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of Templates: time 0.004741/0.1798, allocations: 3.255 MB / 1.034 GB, free: 5.238 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.65417255833745]