Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001017/0.001017, allocations: 188.9 kB / 492.3 MB, free: 0.625 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.543/1.543, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009157/0.0009158, allocations: 89.8 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.905e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3101, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.56/4.87, allocations: 1.715 GB / 2.927 GB, free: 125.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/4.87, allocations: 83.89 kB / 2.927 GB, free: 125.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.101/4.971, allocations: 56.17 MB / 2.982 GB, free: 74.02 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.502e-06/4.971, allocations: 0 / 2.982 GB, free: 74.02 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.165e-05/4.971, allocations: 0 / 2.982 GB, free: 74.02 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.0006339/4.972, allocations: 462.7 kB / 2.983 GB, free: 73.53 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/4.972, allocations: 16.03 kB / 2.983 GB, free: 73.51 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005202/4.972, allocations: 47.77 kB / 2.983 GB, free: 73.46 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/4.973, allocations: 195 kB / 2.983 GB, free: 73.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/4.973, allocations: 8 kB / 2.983 GB, free: 73.23 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/4.973, allocations: 8 kB / 2.983 GB, free: 73.22 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/4.973, allocations: 159.2 kB / 2.983 GB, free: 73.04 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/4.973, allocations: 0 / 2.983 GB, free: 73.04 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/4.973, allocations: 7.984 kB / 2.983 GB, free: 73.04 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/4.973, allocations: 0 / 2.983 GB, free: 73.04 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/4.973, allocations: 87.91 kB / 2.983 GB, free: 72.95 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008918/4.974, allocations: 0.8295 MB / 2.984 GB, free: 72.04 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/4.974, allocations: 110.4 kB / 2.984 GB, free: 71.93 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/4.974, allocations: 52.8 kB / 2.984 GB, free: 71.87 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/4.974, allocations: 0 / 2.984 GB, free: 71.87 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/4.974, allocations: 42.5 kB / 2.984 GB, free: 71.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/4.974, allocations: 0 / 2.984 GB, free: 71.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.000753/4.975, allocations: 202.3 kB / 2.984 GB, free: 71.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/4.975, allocations: 55.41 kB / 2.984 GB, free: 71.55 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/4.975, allocations: 131.5 kB / 2.984 GB, free: 71.41 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/4.975, allocations: 25.7 kB / 2.985 GB, free: 71.38 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/4.975, allocations: 103.9 kB / 2.985 GB, free: 71.28 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/4.975, allocations: 27.64 kB / 2.985 GB, free: 71.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/4.975, allocations: 4 kB / 2.985 GB, free: 71.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/4.975, allocations: 326.8 kB / 2.985 GB, free: 70.92 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/4.976, allocations: 39.98 kB / 2.985 GB, free: 70.88 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.108e-05/4.976, allocations: 90.08 kB / 2.985 GB, free: 70.77 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/4.976, allocations: 51.89 kB / 2.985 GB, free: 70.72 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/4.976, allocations: 0 / 2.985 GB, free: 70.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006479/4.976, allocations: 226.1 kB / 2.985 GB, free: 70.49 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/4.976, allocations: 8 kB / 2.985 GB, free: 70.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/4.976, allocations: 128 / 2.985 GB, free: 70.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/4.977, allocations: 92.75 kB / 2.985 GB, free: 70.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/4.977, allocations: 35.97 kB / 2.985 GB, free: 70.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/4.979, allocations: 1.552 MB / 2.987 GB, free: 68.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/4.979, allocations: 27.89 kB / 2.987 GB, free: 68.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/4.979, allocations: 7.984 kB / 2.987 GB, free: 68.62 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 8.098e-05/4.979, allocations: 112.9 kB / 2.987 GB, free: 68.51 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/4.979, allocations: 11.91 kB / 2.987 GB, free: 68.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/4.98, allocations: 258.8 kB / 2.987 GB, free: 68.23 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/4.98, allocations: 0 / 2.987 GB, free: 68.23 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/4.98, allocations: 4 kB / 2.987 GB, free: 68.23 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/4.98, allocations: 3.938 kB / 2.987 GB, free: 68.23 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/4.98, allocations: 233.6 kB / 2.988 GB, free: 67.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/4.98, allocations: 3.938 kB / 2.988 GB, free: 67.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/4.981, allocations: 39.95 kB / 2.988 GB, free: 67.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/4.981, allocations: 92.72 kB / 2.988 GB, free: 67.81 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/4.981, allocations: 4 kB / 2.988 GB, free: 67.81 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/4.982, allocations: 1.571 MB / 2.989 GB, free: 66.09 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/4.982, allocations: 4.062 kB / 2.989 GB, free: 66.08 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/4.983, allocations: 317.5 kB / 2.99 GB, free: 65.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/4.983, allocations: 89.02 kB / 2.99 GB, free: 65.65 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/4.983, allocations: 4 kB / 2.99 GB, free: 65.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/4.983, allocations: 23.97 kB / 2.99 GB, free: 65.62 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/4.983, allocations: 11.98 kB / 2.99 GB, free: 65.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/4.983, allocations: 4 kB / 2.99 GB, free: 65.61 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.019e-05/4.983, allocations: 105.5 kB / 2.99 GB, free: 65.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.983, allocations: 4 kB / 2.99 GB, free: 65.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005435/4.984, allocations: 95.83 kB / 2.99 GB, free: 65.41 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.0008347/4.985, allocations: 0.6057 MB / 2.991 GB, free: 64.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005671/4.985, allocations: 254.8 kB / 2.991 GB, free: 64.54 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/4.985, allocations: 0 / 2.991 GB, free: 64.54 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003204/4.986, allocations: 194.5 kB / 2.991 GB, free: 64.34 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/4.986, allocations: 23.98 kB / 2.991 GB, free: 64.32 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/4.987, allocations: 214.3 kB / 2.991 GB, free: 64.09 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/4.987, allocations: 0.7127 MB / 2.992 GB, free: 63.35 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001605/4.987, allocations: 28.81 kB / 2.992 GB, free: 63.32 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/4.987, allocations: 15.42 kB / 2.992 GB, free: 63.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.193e-06/4.987, allocations: 4 kB / 2.992 GB, free: 63.3 MB / 1.151 GB Notification: Performance of Templates: time 0.01429/5.001, allocations: 12.35 MB / 3.004 GB, free: 50.96 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches