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.637/1.637, allocations: 249.5 MB / 257 MB, free: 6.977 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.001136/0.001136, allocations: 187.7 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.001001/0.001001, allocations: 82.53 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.806e-05, allocations: 4 kB / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.232, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.469/6.701, allocations: 2.175 GB / 3.06 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/6.701, allocations: 85.55 kB / 3.061 GB, free: 249.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1025/6.804, allocations: 56.12 MB / 3.115 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/6.804, allocations: 0 / 3.115 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.686e-06/6.804, allocations: 0 / 3.115 GB, free: 192.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.0006056/6.805, allocations: 466.1 kB / 3.116 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/6.805, allocations: 8.031 kB / 3.116 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005151/6.805, allocations: 51.78 kB / 3.116 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/6.805, allocations: 203 kB / 3.116 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/6.805, allocations: 11.94 kB / 3.116 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/6.805, allocations: 4 kB / 3.116 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001766/6.806, allocations: 79.97 kB / 3.116 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/6.806, allocations: 152.4 kB / 3.116 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/6.806, allocations: 0 / 3.116 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/6.806, allocations: 4 kB / 3.116 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/6.806, allocations: 4 kB / 3.116 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008228/6.807, allocations: 0.7897 MB / 3.117 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/6.807, allocations: 98.55 kB / 3.117 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/6.807, allocations: 52.84 kB / 3.117 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/6.807, allocations: 3.938 kB / 3.117 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/6.807, allocations: 38.52 kB / 3.117 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/6.807, allocations: 0 / 3.117 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.000719/6.808, allocations: 190.3 kB / 3.117 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/6.808, allocations: 51.41 kB / 3.117 GB, free: 190 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/6.808, allocations: 114.6 kB / 3.118 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/6.808, allocations: 25.7 kB / 3.118 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/6.808, allocations: 115.9 kB / 3.118 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/6.808, allocations: 27.64 kB / 3.118 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/6.808, allocations: 3.938 kB / 3.118 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/6.808, allocations: 318.8 kB / 3.118 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/6.808, allocations: 39.98 kB / 3.118 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/6.808, allocations: 82 kB / 3.118 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/6.808, allocations: 48.16 kB / 3.118 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/6.808, allocations: 0 / 3.118 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006196/6.809, allocations: 222.1 kB / 3.118 GB, free: 189 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/6.809, allocations: 8 kB / 3.118 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/6.809, allocations: 0 / 3.118 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/6.809, allocations: 88.83 kB / 3.119 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/6.81, allocations: 35.95 kB / 3.119 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/6.811, allocations: 1.48 MB / 3.12 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/6.811, allocations: 19.98 kB / 3.12 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/6.811, allocations: 7.984 kB / 3.12 GB, free: 187.2 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 7.096e-05/6.811, allocations: 112.9 kB / 3.12 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/6.811, allocations: 11.97 kB / 3.12 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006512/6.812, allocations: 246.7 kB / 3.12 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/6.812, allocations: 4 kB / 3.12 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/6.812, allocations: 0 / 3.12 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/6.812, allocations: 3.953 kB / 3.12 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/6.812, allocations: 214 kB / 3.121 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/6.812, allocations: 4 kB / 3.121 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/6.812, allocations: 35.97 kB / 3.121 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/6.813, allocations: 88.77 kB / 3.121 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/6.813, allocations: 3.984 kB / 3.121 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/6.814, allocations: 1.489 MB / 3.122 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/6.814, allocations: 0 / 3.122 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/6.815, allocations: 318 kB / 3.122 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/6.815, allocations: 89 kB / 3.123 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/6.815, allocations: 4 kB / 3.123 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/6.815, allocations: 19.94 kB / 3.123 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/6.815, allocations: 15.97 kB / 3.123 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/6.815, allocations: 4 kB / 3.123 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.693e-05/6.815, allocations: 96.67 kB / 3.123 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.81e-07/6.815, allocations: 0 / 3.123 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004193/6.816, allocations: 83.92 kB / 3.123 GB, free: 184.2 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.0007378/6.816, allocations: 0.6929 MB / 3.123 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000504/6.817, allocations: 237.6 kB / 3.124 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/6.817, allocations: 3.938 kB / 3.124 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002979/6.817, allocations: 193.9 kB / 3.124 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/6.818, allocations: 12.31 kB / 3.124 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/6.818, allocations: 204.6 kB / 3.124 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/6.818, allocations: 0.7162 MB / 3.125 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001724/6.818, allocations: 24.48 kB / 3.125 GB, free: 182 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/6.819, allocations: 23.42 kB / 3.125 GB, free: 182 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/6.819, allocations: 0 / 3.125 GB, free: 182 MB / 0.8698 GB Notification: Performance of Templates: time 0.009872/6.828, allocations: 6.143 MB / 3.131 GB, free: 175.9 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