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.141/2.141, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001058/0.001058, allocations: 176.9 kB / 487.4 MB, free: 5.047 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.352/1.352, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009957/0.0009954, allocations: 99.83 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.487e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2467, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.852/4.099, allocations: 1.714 GB / 2.92 GB, free: 171.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/4.099, allocations: 75.95 kB / 2.92 GB, free: 171.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1012/4.2, allocations: 55.32 MB / 2.974 GB, free: 114.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.352e-06/4.2, allocations: 4 kB / 2.974 GB, free: 114.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.413e-05/4.2, allocations: 4 kB / 2.974 GB, free: 114.9 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.0006646/4.201, allocations: 460.3 kB / 2.975 GB, free: 114.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/4.201, allocations: 8.031 kB / 2.975 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005362/4.202, allocations: 55.75 kB / 2.975 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/4.202, allocations: 191.6 kB / 2.975 GB, free: 114.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/4.202, allocations: 0 / 2.975 GB, free: 114.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/4.202, allocations: 12 kB / 2.975 GB, free: 114.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001876/4.202, allocations: 83.89 kB / 2.975 GB, free: 114.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/4.202, allocations: 146.9 kB / 2.975 GB, free: 113.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/4.202, allocations: 0 / 2.975 GB, free: 113.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/4.202, allocations: 0 / 2.975 GB, free: 113.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/4.202, allocations: 4 kB / 2.975 GB, free: 113.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/4.203, allocations: 0.7949 MB / 2.976 GB, free: 113 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/4.203, allocations: 106.4 kB / 2.976 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/4.203, allocations: 48.84 kB / 2.976 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/4.203, allocations: 8 kB / 2.976 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/4.203, allocations: 34.52 kB / 2.976 GB, free: 112.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/4.203, allocations: 0 / 2.976 GB, free: 112.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0007231/4.204, allocations: 194.4 kB / 2.976 GB, free: 112.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/4.204, allocations: 51.41 kB / 2.976 GB, free: 112.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/4.204, allocations: 119.2 kB / 2.976 GB, free: 112.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/4.204, allocations: 25.7 kB / 2.977 GB, free: 112.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/4.204, allocations: 111.9 kB / 2.977 GB, free: 112.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/4.204, allocations: 31.55 kB / 2.977 GB, free: 112.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/4.204, allocations: 0 / 2.977 GB, free: 112.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.387e-05/4.204, allocations: 318.8 kB / 2.977 GB, free: 111.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/4.205, allocations: 47.98 kB / 2.977 GB, free: 111.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.647e-05/4.205, allocations: 78 kB / 2.977 GB, free: 111.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.812e-05/4.205, allocations: 43.97 kB / 2.977 GB, free: 111.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/4.205, allocations: 4.031 kB / 2.977 GB, free: 111.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006272/4.205, allocations: 210.2 kB / 2.977 GB, free: 111.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/4.205, allocations: 8.125 kB / 2.977 GB, free: 111.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/4.205, allocations: 0 / 2.977 GB, free: 111.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/4.206, allocations: 92.75 kB / 2.977 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/4.206, allocations: 39.91 kB / 2.977 GB, free: 111.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/4.208, allocations: 1.473 MB / 2.979 GB, free: 109.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/4.208, allocations: 27.91 kB / 2.979 GB, free: 109.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/4.208, allocations: 4 kB / 2.979 GB, free: 109.8 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.037e-05/4.208, allocations: 108.9 kB / 2.979 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/4.208, allocations: 7.906 kB / 2.979 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/4.209, allocations: 263.8 kB / 2.979 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/4.209, allocations: 0 / 2.979 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/4.209, allocations: 0 / 2.979 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/4.209, allocations: 3.953 kB / 2.979 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/4.209, allocations: 206 kB / 2.979 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/4.209, allocations: 0 / 2.979 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/4.209, allocations: 39.97 kB / 2.98 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/4.21, allocations: 84.75 kB / 2.98 GB, free: 109 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/4.21, allocations: 4 kB / 2.98 GB, free: 109 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/4.211, allocations: 1.5 MB / 2.981 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/4.211, allocations: 0 / 2.981 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/4.212, allocations: 323.8 kB / 2.981 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/4.212, allocations: 85.02 kB / 2.981 GB, free: 106.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/4.212, allocations: 0 / 2.981 GB, free: 106.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/4.212, allocations: 23.94 kB / 2.981 GB, free: 106.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/4.212, allocations: 15.97 kB / 2.981 GB, free: 106.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/4.212, allocations: 8 kB / 2.982 GB, free: 106.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.087e-05/4.212, allocations: 95.27 kB / 2.982 GB, free: 106.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/4.212, allocations: 0 / 2.982 GB, free: 106.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003939/4.212, allocations: 79.83 kB / 2.982 GB, free: 106.7 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.0007946/4.213, allocations: 0.6983 MB / 2.982 GB, free: 106 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004931/4.214, allocations: 237.7 kB / 2.983 GB, free: 105.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/4.214, allocations: 0 / 2.983 GB, free: 105.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/4.214, allocations: 186 kB / 2.983 GB, free: 105.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/4.214, allocations: 22.58 kB / 2.983 GB, free: 105.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005563/4.215, allocations: 216.4 kB / 2.983 GB, free: 105.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/4.215, allocations: 0.7085 MB / 2.984 GB, free: 104.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001583/4.215, allocations: 24.5 kB / 2.984 GB, free: 104.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/4.215, allocations: 15.42 kB / 2.984 GB, free: 104.6 MB / 1.151 GB Notification: Performance of SimCode: time 5.01e-07/4.215, allocations: 0 / 2.984 GB, free: 104.6 MB / 1.151 GB Notification: Performance of Templates: time 0.009112/4.224, allocations: 6.156 MB / 2.99 GB, free: 98.41 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