Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.3 MB / 261.8 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 186.5 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008744/0.0008745, allocations: 86.48 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.222e-05/4.225e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2544, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.135/6.39, allocations: 2.175 GB / 3.067 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/6.39, allocations: 81.58 kB / 3.067 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.109/6.499, allocations: 56.96 MB / 3.122 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.493e-06/6.499, allocations: 3.938 kB / 3.122 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.109e-05/6.499, allocations: 4 kB / 3.122 GB, free: 101.4 MB / 0.8698 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.0006847/6.5, allocations: 466.1 kB / 3.123 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/6.5, allocations: 12.03 kB / 3.123 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/6.501, allocations: 47.84 kB / 3.123 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/6.501, allocations: 198.8 kB / 3.123 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/6.501, allocations: 8.219 kB / 3.123 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/6.501, allocations: 12 kB / 3.123 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/6.501, allocations: 159.5 kB / 3.123 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/6.501, allocations: 0 / 3.123 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/6.501, allocations: 8 kB / 3.123 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/6.501, allocations: 7.922 kB / 3.123 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/6.502, allocations: 87.91 kB / 3.123 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/6.503, allocations: 0.8282 MB / 3.124 GB, free: 99.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/6.503, allocations: 98.55 kB / 3.124 GB, free: 99.32 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.531e-05/6.503, allocations: 52.84 kB / 3.124 GB, free: 99.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/6.503, allocations: 7.953 kB / 3.124 GB, free: 99.26 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/6.503, allocations: 38.56 kB / 3.124 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/6.503, allocations: 0 / 3.124 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0007574/6.504, allocations: 198.3 kB / 3.125 GB, free: 99.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/6.504, allocations: 51.41 kB / 3.125 GB, free: 98.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/6.504, allocations: 122.2 kB / 3.125 GB, free: 98.82 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/6.504, allocations: 29.7 kB / 3.125 GB, free: 98.79 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/6.504, allocations: 111.9 kB / 3.125 GB, free: 98.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/6.504, allocations: 27.8 kB / 3.125 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/6.504, allocations: 0 / 3.125 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.153e-05/6.504, allocations: 326.8 kB / 3.125 GB, free: 98.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/6.504, allocations: 47.98 kB / 3.125 GB, free: 98.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.46e-05/6.504, allocations: 89.94 kB / 3.125 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/6.504, allocations: 52.03 kB / 3.125 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/6.504, allocations: 4.031 kB / 3.125 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006392/6.505, allocations: 214.2 kB / 3.126 GB, free: 97.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/6.505, allocations: 16.06 kB / 3.126 GB, free: 97.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/6.505, allocations: 0 / 3.126 GB, free: 97.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005598/6.506, allocations: 88.77 kB / 3.126 GB, free: 97.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/6.506, allocations: 39.89 kB / 3.126 GB, free: 97.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/6.508, allocations: 1.558 MB / 3.127 GB, free: 96.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/6.508, allocations: 27.88 kB / 3.127 GB, free: 96.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/6.508, allocations: 4 kB / 3.127 GB, free: 96.02 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/6.508, allocations: 113 kB / 3.127 GB, free: 95.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/6.508, allocations: 7.906 kB / 3.127 GB, free: 95.89 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007726/6.509, allocations: 263.8 kB / 3.128 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/6.509, allocations: 0 / 3.128 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/6.509, allocations: 0 / 3.128 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/6.509, allocations: 0 / 3.128 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/6.509, allocations: 241.5 kB / 3.128 GB, free: 95.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/6.509, allocations: 0 / 3.128 GB, free: 95.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/6.509, allocations: 39.91 kB / 3.128 GB, free: 95.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004461/6.51, allocations: 92.72 kB / 3.128 GB, free: 95.21 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/6.51, allocations: 3.984 kB / 3.128 GB, free: 95.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/6.511, allocations: 1.567 MB / 3.13 GB, free: 93.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/6.511, allocations: 0 / 3.13 GB, free: 93.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/6.512, allocations: 331.4 kB / 3.13 GB, free: 93.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/6.512, allocations: 89 kB / 3.13 GB, free: 93.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/6.512, allocations: 0 / 3.13 GB, free: 93.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/6.512, allocations: 23.98 kB / 3.13 GB, free: 93.03 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/6.512, allocations: 11.97 kB / 3.13 GB, free: 93.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/6.512, allocations: 4 kB / 3.13 GB, free: 93.01 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.956e-05/6.512, allocations: 107.3 kB / 3.13 GB, free: 92.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.91e-07/6.512, allocations: 0 / 3.13 GB, free: 92.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005767/6.513, allocations: 91.92 kB / 3.13 GB, free: 92.82 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009336/6.514, allocations: 0.6093 MB / 3.131 GB, free: 92.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006711/6.515, allocations: 258.6 kB / 3.131 GB, free: 91.94 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/6.515, allocations: 0 / 3.131 GB, free: 91.94 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/6.515, allocations: 206.5 kB / 3.131 GB, free: 91.72 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/6.515, allocations: 19.98 kB / 3.131 GB, free: 91.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/6.516, allocations: 210.4 kB / 3.132 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/6.516, allocations: 0.7127 MB / 3.132 GB, free: 90.74 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001632/6.516, allocations: 24.88 kB / 3.132 GB, free: 90.71 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.506e-05/6.516, allocations: 11.44 kB / 3.132 GB, free: 90.7 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/6.516, allocations: 4 kB / 3.132 GB, free: 90.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.01587/6.532, allocations: 12.33 MB / 3.144 GB, free: 78.37 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches