Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhi_BuiLib.TWetBul|sub.y|phi.y|wetBulXi.TWetBul|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001126/0.001126, allocations: 184.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.578/1.578, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009885/0.0009885, allocations: 91.95 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.158e-05, allocations: 3.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2097, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.295/4.505, allocations: 1.73 GB / 2.943 GB, free: 135.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/4.506, allocations: 83.89 kB / 2.943 GB, free: 135.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.136/4.642, allocations: 75.69 MB / 3.017 GB, free: 58.07 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.863e-06/4.642, allocations: 0 / 3.017 GB, free: 58.07 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.612e-05/4.642, allocations: 8 kB / 3.017 GB, free: 58.06 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009324/4.643, allocations: 474.7 kB / 3.017 GB, free: 57.55 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/4.643, allocations: 8.031 kB / 3.017 GB, free: 57.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000785/4.643, allocations: 83.72 kB / 3.017 GB, free: 57.46 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/4.644, allocations: 223.3 kB / 3.018 GB, free: 57.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/4.644, allocations: 23.75 kB / 3.018 GB, free: 57.18 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/4.644, allocations: 15.94 kB / 3.018 GB, free: 57.17 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/4.644, allocations: 227 kB / 3.018 GB, free: 56.92 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/4.644, allocations: 3.938 kB / 3.018 GB, free: 56.91 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/4.644, allocations: 7.953 kB / 3.018 GB, free: 56.91 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/4.644, allocations: 4 kB / 3.018 GB, free: 56.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/4.645, allocations: 148.7 kB / 3.018 GB, free: 56.76 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/4.646, allocations: 1.002 MB / 3.019 GB, free: 55.69 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/4.646, allocations: 146.5 kB / 3.019 GB, free: 55.54 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/4.646, allocations: 64.88 kB / 3.019 GB, free: 55.47 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/4.646, allocations: 4 kB / 3.019 GB, free: 55.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/4.646, allocations: 34.5 kB / 3.019 GB, free: 55.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/4.646, allocations: 4 kB / 3.019 GB, free: 55.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0003116/4.647, allocations: 145.6 kB / 3.019 GB, free: 55.27 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/4.647, allocations: 55.39 kB / 3.019 GB, free: 55.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/4.647, allocations: 163.5 kB / 3.02 GB, free: 55.04 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/4.647, allocations: 29.7 kB / 3.02 GB, free: 55 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/4.647, allocations: 135.5 kB / 3.02 GB, free: 54.86 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/4.647, allocations: 39.45 kB / 3.02 GB, free: 54.82 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/4.647, allocations: 4 kB / 3.02 GB, free: 54.82 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/4.647, allocations: 326.8 kB / 3.02 GB, free: 54.49 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/4.647, allocations: 55.98 kB / 3.02 GB, free: 54.44 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/4.647, allocations: 108.2 kB / 3.02 GB, free: 54.31 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/4.647, allocations: 70.38 kB / 3.02 GB, free: 54.24 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/4.647, allocations: 0 / 3.02 GB, free: 54.24 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003156/4.648, allocations: 205.2 kB / 3.021 GB, free: 54.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/4.648, allocations: 4 kB / 3.021 GB, free: 54.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/4.648, allocations: 7.984 kB / 3.021 GB, free: 54.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/4.648, allocations: 0 / 3.021 GB, free: 54.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/4.648, allocations: 60.05 kB / 3.021 GB, free: 53.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/4.648, allocations: 7.938 kB / 3.021 GB, free: 53.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/4.648, allocations: 35.83 kB / 3.021 GB, free: 53.92 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/4.648, allocations: 7.984 kB / 3.021 GB, free: 53.91 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.321e-05/4.648, allocations: 117.6 kB / 3.021 GB, free: 53.79 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/4.649, allocations: 23.8 kB / 3.021 GB, free: 53.77 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/4.649, allocations: 248.4 kB / 3.021 GB, free: 53.52 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/4.649, allocations: 4 kB / 3.021 GB, free: 53.52 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/4.649, allocations: 0 / 3.021 GB, free: 53.52 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/4.649, allocations: 7.938 kB / 3.021 GB, free: 53.51 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/4.649, allocations: 289.4 kB / 3.021 GB, free: 53.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/4.649, allocations: 0 / 3.021 GB, free: 53.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/4.65, allocations: 47.91 kB / 3.021 GB, free: 53.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/4.65, allocations: 4 kB / 3.021 GB, free: 53.12 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/4.65, allocations: 7.984 kB / 3.021 GB, free: 53.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/4.65, allocations: 8 kB / 3.021 GB, free: 53.11 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/4.65, allocations: 0 / 3.021 GB, free: 53.11 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/4.65, allocations: 300.5 kB / 3.022 GB, free: 52.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/4.65, allocations: 108.8 kB / 3.022 GB, free: 52.68 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/4.65, allocations: 4 kB / 3.022 GB, free: 52.67 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/4.65, allocations: 23.98 kB / 3.022 GB, free: 52.65 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/4.65, allocations: 11.97 kB / 3.022 GB, free: 52.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/4.65, allocations: 12 kB / 3.022 GB, free: 52.62 MB / 1.151 GB Notification: Performance of sorting global known variables: time 8.533e-05/4.65, allocations: 143.9 kB / 3.022 GB, free: 52.48 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.21e-07/4.65, allocations: 0 / 3.022 GB, free: 52.48 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004989/4.651, allocations: 104 kB / 3.022 GB, free: 52.38 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 (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008006/4.652, allocations: 0.6769 MB / 3.023 GB, free: 51.71 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000302/4.652, allocations: 161.4 kB / 3.023 GB, free: 51.55 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/4.652, allocations: 0 / 3.023 GB, free: 51.55 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/4.652, allocations: 96.52 kB / 3.023 GB, free: 51.46 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/4.653, allocations: 32.17 kB / 3.023 GB, free: 51.43 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/4.653, allocations: 241.7 kB / 3.023 GB, free: 51.17 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/4.653, allocations: 0.736 MB / 3.024 GB, free: 50.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002755/4.653, allocations: 53.98 kB / 3.024 GB, free: 50.35 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/4.654, allocations: 31.42 kB / 3.024 GB, free: 50.32 MB / 1.151 GB Notification: Performance of SimCode: time 2.2e-07/4.654, allocations: 0 / 3.024 GB, free: 50.32 MB / 1.151 GB Notification: Performance of Templates: time 0.01623/4.67, allocations: 13.9 MB / 3.038 GB, free: 36.43 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches