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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.191/2.191, allocations: 390.5 MB / 398 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 184 kB / 491.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001145, allocations: 91.69 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.524e-05/1.527e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3061, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.626/4.932, allocations: 1.715 GB / 2.927 GB, free: 151.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/4.932, allocations: 79.95 kB / 2.927 GB, free: 151 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1018/5.034, allocations: 55.31 MB / 2.981 GB, free: 94.72 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.703e-06/5.034, allocations: 0 / 2.981 GB, free: 94.72 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.052e-05/5.034, allocations: 4 kB / 2.981 GB, free: 94.72 MB / 1.151 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.0006414/5.035, allocations: 462.7 kB / 2.982 GB, free: 94.22 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/5.035, allocations: 8.031 kB / 2.982 GB, free: 94.21 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005406/5.035, allocations: 59.75 kB / 2.982 GB, free: 94.16 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/5.036, allocations: 192.4 kB / 2.982 GB, free: 93.93 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/5.036, allocations: 3.984 kB / 2.982 GB, free: 93.93 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/5.036, allocations: 8 kB / 2.982 GB, free: 93.92 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002235/5.036, allocations: 83.86 kB / 2.982 GB, free: 93.84 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/5.036, allocations: 152.1 kB / 2.982 GB, free: 93.67 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/5.036, allocations: 0 / 2.982 GB, free: 93.67 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/5.036, allocations: 3.938 kB / 2.982 GB, free: 93.66 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/5.036, allocations: 4 kB / 2.982 GB, free: 93.66 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/5.037, allocations: 0.7974 MB / 2.983 GB, free: 92.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/5.037, allocations: 98.48 kB / 2.983 GB, free: 92.69 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/5.037, allocations: 52.8 kB / 2.983 GB, free: 92.64 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/5.037, allocations: 4 kB / 2.983 GB, free: 92.63 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/5.037, allocations: 30.56 kB / 2.983 GB, free: 92.59 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/5.037, allocations: 4 kB / 2.983 GB, free: 92.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0007288/5.038, allocations: 186.4 kB / 2.983 GB, free: 92.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/5.038, allocations: 55.39 kB / 2.984 GB, free: 92.33 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/5.038, allocations: 122.6 kB / 2.984 GB, free: 92.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/5.038, allocations: 25.7 kB / 2.984 GB, free: 92.17 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/5.038, allocations: 111.9 kB / 2.984 GB, free: 92.06 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/5.038, allocations: 31.55 kB / 2.984 GB, free: 92.03 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/5.038, allocations: 0 / 2.984 GB, free: 92.03 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/5.038, allocations: 314.8 kB / 2.984 GB, free: 91.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/5.038, allocations: 43.98 kB / 2.984 GB, free: 91.67 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/5.038, allocations: 85.98 kB / 2.984 GB, free: 91.56 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/5.039, allocations: 43.92 kB / 2.984 GB, free: 91.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/5.039, allocations: 3.953 kB / 2.984 GB, free: 91.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006204/5.039, allocations: 210.3 kB / 2.984 GB, free: 91.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/5.039, allocations: 4 kB / 2.984 GB, free: 91.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/5.039, allocations: 0 / 2.984 GB, free: 91.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/5.04, allocations: 88.89 kB / 2.985 GB, free: 91.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/5.04, allocations: 47.89 kB / 2.985 GB, free: 91.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/5.041, allocations: 1.473 MB / 2.986 GB, free: 89.56 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/5.042, allocations: 27.98 kB / 2.986 GB, free: 89.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/5.042, allocations: 11.98 kB / 2.986 GB, free: 89.52 MB / 1.151 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.346e-05/5.042, allocations: 104.9 kB / 2.986 GB, free: 89.41 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/5.042, allocations: 7.906 kB / 2.986 GB, free: 89.41 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006585/5.042, allocations: 250.9 kB / 2.986 GB, free: 89.15 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/5.043, allocations: 4 kB / 2.986 GB, free: 89.15 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/5.043, allocations: 7.953 kB / 2.986 GB, free: 89.14 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/5.043, allocations: 3.984 kB / 2.986 GB, free: 89.14 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/5.043, allocations: 210 kB / 2.987 GB, free: 88.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/5.043, allocations: 0 / 2.987 GB, free: 88.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/5.043, allocations: 35.97 kB / 2.987 GB, free: 88.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/5.043, allocations: 84.77 kB / 2.987 GB, free: 88.77 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/5.043, allocations: 7.922 kB / 2.987 GB, free: 88.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/5.045, allocations: 1.488 MB / 2.988 GB, free: 87.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/5.045, allocations: 3.938 kB / 2.988 GB, free: 87.15 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/5.045, allocations: 313.1 kB / 2.989 GB, free: 86.83 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/5.045, allocations: 89 kB / 2.989 GB, free: 86.72 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/5.045, allocations: 3.953 kB / 2.989 GB, free: 86.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/5.046, allocations: 19.98 kB / 2.989 GB, free: 86.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/5.046, allocations: 15.97 kB / 2.989 GB, free: 86.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/5.046, allocations: 8 kB / 2.989 GB, free: 86.68 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.869e-05/5.046, allocations: 100.8 kB / 2.989 GB, free: 86.58 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.046, allocations: 0 / 2.989 GB, free: 86.58 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004743/5.046, allocations: 79.83 kB / 2.989 GB, free: 86.5 MB / 1.151 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.0007533/5.047, allocations: 0.6967 MB / 2.989 GB, free: 85.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000501/5.048, allocations: 237.7 kB / 2.99 GB, free: 85.56 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/5.048, allocations: 0 / 2.99 GB, free: 85.56 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/5.048, allocations: 193.7 kB / 2.99 GB, free: 85.36 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/5.048, allocations: 24.11 kB / 2.99 GB, free: 85.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/5.049, allocations: 207.3 kB / 2.99 GB, free: 85.11 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/5.049, allocations: 0.7085 MB / 2.991 GB, free: 84.38 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001572/5.049, allocations: 32.34 kB / 2.991 GB, free: 84.34 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/5.049, allocations: 15.42 kB / 2.991 GB, free: 84.33 MB / 1.151 GB Notification: Performance of SimCode: time 2.2e-07/5.049, allocations: 0 / 2.991 GB, free: 84.33 MB / 1.151 GB Notification: Performance of Templates: time 0.0101/5.059, allocations: 6.156 MB / 2.997 GB, free: 78.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches