Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.077/2.077, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001307/0.001307, allocations: 176.9 kB / 487.4 MB, free: 5.055 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.471/1.471, allocations: 221.5 MB / 0.7824 GB, free: 1.035 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.001026/0.001026, allocations: 107.5 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.447e-05/1.449e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.257, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.051/4.308, allocations: 1.73 GB / 2.936 GB, free: 154.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/4.308, allocations: 83.95 kB / 2.936 GB, free: 154.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1561/4.464, allocations: 85.2 MB / 3.02 GB, free: 67.71 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.693e-06/4.465, allocations: 0 / 3.02 GB, free: 67.71 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.266e-05/4.465, allocations: 4 kB / 3.02 GB, free: 67.71 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009273/4.465, allocations: 0.4928 MB / 3.02 GB, free: 67.17 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/4.466, allocations: 8.031 kB / 3.02 GB, free: 67.16 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/4.466, allocations: 87.62 kB / 3.02 GB, free: 67.08 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/4.467, allocations: 230.7 kB / 3.02 GB, free: 66.81 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/4.467, allocations: 30.03 kB / 3.02 GB, free: 66.78 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/4.467, allocations: 12 kB / 3.02 GB, free: 66.77 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002655/4.467, allocations: 112.6 kB / 3.021 GB, free: 66.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/4.468, allocations: 218.7 kB / 3.021 GB, free: 66.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/4.468, allocations: 0 / 3.021 GB, free: 66.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/4.468, allocations: 0 / 3.021 GB, free: 66.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/4.468, allocations: 7.938 kB / 3.021 GB, free: 66.41 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/4.469, allocations: 1.13 MB / 3.022 GB, free: 65.21 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/4.47, allocations: 190.7 kB / 3.022 GB, free: 65.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.196e-05/4.47, allocations: 52.84 kB / 3.022 GB, free: 64.96 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/4.47, allocations: 4 kB / 3.022 GB, free: 64.96 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/4.47, allocations: 42.56 kB / 3.022 GB, free: 64.91 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/4.47, allocations: 0 / 3.022 GB, free: 64.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.001142/4.471, allocations: 263.2 kB / 3.022 GB, free: 64.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/4.471, allocations: 51.41 kB / 3.022 GB, free: 64.57 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/4.471, allocations: 146.2 kB / 3.023 GB, free: 64.43 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/4.471, allocations: 25.7 kB / 3.023 GB, free: 64.39 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/4.471, allocations: 143.8 kB / 3.023 GB, free: 64.25 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/4.471, allocations: 39.45 kB / 3.023 GB, free: 64.21 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/4.471, allocations: 0 / 3.023 GB, free: 64.21 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/4.471, allocations: 322.8 kB / 3.023 GB, free: 63.89 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-05/4.471, allocations: 52.36 kB / 3.023 GB, free: 63.83 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/4.472, allocations: 113.1 kB / 3.023 GB, free: 63.69 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/4.472, allocations: 63.95 kB / 3.023 GB, free: 63.63 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/4.472, allocations: 0 / 3.023 GB, free: 63.63 MB / 1.151 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001078/4.473, allocations: 327.4 kB / 3.024 GB, free: 63.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/4.473, allocations: 6.188 kB / 3.024 GB, free: 63.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/4.473, allocations: 0 / 3.024 GB, free: 63.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009762/4.474, allocations: 165.8 kB / 3.024 GB, free: 63.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/4.474, allocations: 43.91 kB / 3.024 GB, free: 63.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/4.477, allocations: 2.884 MB / 3.027 GB, free: 59.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/4.477, allocations: 35.78 kB / 3.027 GB, free: 59.92 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/4.477, allocations: 8 kB / 3.027 GB, free: 59.91 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 9.08e-05/4.477, allocations: 112.9 kB / 3.027 GB, free: 59.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/4.477, allocations: 11.84 kB / 3.027 GB, free: 59.79 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/4.478, allocations: 331.5 kB / 3.027 GB, free: 59.45 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/4.478, allocations: 4 kB / 3.027 GB, free: 59.45 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/4.478, allocations: 0 / 3.027 GB, free: 59.45 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/4.478, allocations: 3.984 kB / 3.027 GB, free: 59.44 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/4.479, allocations: 230 kB / 3.027 GB, free: 59.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/4.479, allocations: 4 kB / 3.027 GB, free: 59.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/4.479, allocations: 23.98 kB / 3.027 GB, free: 59.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008254/4.48, allocations: 153.5 kB / 3.028 GB, free: 59 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/4.48, allocations: 11.94 kB / 3.028 GB, free: 58.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/4.482, allocations: 2.942 MB / 3.03 GB, free: 55.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/4.482, allocations: 3.938 kB / 3.03 GB, free: 55.79 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/4.483, allocations: 398.4 kB / 3.031 GB, free: 55.38 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/4.483, allocations: 108.8 kB / 3.031 GB, free: 55.26 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/4.483, allocations: 4 kB / 3.031 GB, free: 55.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/4.483, allocations: 11.98 kB / 3.031 GB, free: 55.24 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/4.484, allocations: 20.2 kB / 3.031 GB, free: 55.22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/4.484, allocations: 4 kB / 3.031 GB, free: 55.22 MB / 1.151 GB Notification: Performance of sorting global known variables: time 7.304e-05/4.484, allocations: 116.8 kB / 3.031 GB, free: 55.11 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/4.484, allocations: 4 kB / 3.031 GB, free: 55.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005278/4.484, allocations: 111.9 kB / 3.031 GB, free: 54.99 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009282/4.485, allocations: 0.8202 MB / 3.032 GB, free: 54.16 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007689/4.486, allocations: 391.7 kB / 3.032 GB, free: 53.76 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/4.486, allocations: 0 / 3.032 GB, free: 53.76 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005126/4.486, allocations: 319.3 kB / 3.033 GB, free: 53.43 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/4.487, allocations: 43.95 kB / 3.033 GB, free: 53.39 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/4.487, allocations: 297.6 kB / 3.033 GB, free: 53.07 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/4.488, allocations: 0.7282 MB / 3.034 GB, free: 52.32 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001937/4.488, allocations: 37.25 kB / 3.034 GB, free: 52.28 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/4.488, allocations: 23.42 kB / 3.034 GB, free: 52.25 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/4.488, allocations: 0 / 3.034 GB, free: 52.25 MB / 1.151 GB Notification: Performance of Templates: time 0.01225/4.5, allocations: 8.49 MB / 3.042 GB, free: 43.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches