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.43/2.43, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001311/0.001311, allocations: 169.1 kB / 498.1 MB, free: 5.738 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.692/1.692, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.001173/0.001173, allocations: 96.2 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.0005623, allocations: 12.56 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3391, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.338/4.677, allocations: 1.731 GB / 2.953 GB, free: 255.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/4.677, allocations: 83.89 kB / 2.954 GB, free: 255.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1448/4.822, allocations: 75.81 MB / 3.028 GB, free: 177.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.513e-06/4.822, allocations: 0 / 3.028 GB, free: 177.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.436e-05/4.822, allocations: 4 kB / 3.028 GB, free: 177.9 MB / 1.167 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.0008325/4.823, allocations: 495.6 kB / 3.028 GB, free: 177.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/4.823, allocations: 12.03 kB / 3.028 GB, free: 177.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008534/4.824, allocations: 79.72 kB / 3.028 GB, free: 177.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/4.824, allocations: 218.8 kB / 3.028 GB, free: 177 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/4.824, allocations: 15.75 kB / 3.028 GB, free: 177 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/4.824, allocations: 20 kB / 3.028 GB, free: 177 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004814/4.825, allocations: 251.1 kB / 3.029 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/4.825, allocations: 7.922 kB / 3.029 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/4.825, allocations: 12 kB / 3.029 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/4.825, allocations: 4 kB / 3.029 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/4.825, allocations: 200.6 kB / 3.029 GB, free: 176.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/4.826, allocations: 1.006 MB / 3.03 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/4.827, allocations: 178.5 kB / 3.03 GB, free: 175.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/4.827, allocations: 80 / 3.03 GB, free: 175.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/4.827, allocations: 34.56 kB / 3.03 GB, free: 175.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/4.827, allocations: 0 / 3.03 GB, free: 175.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0006907/4.828, allocations: 253.5 kB / 3.03 GB, free: 174.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/4.828, allocations: 59.39 kB / 3.03 GB, free: 174.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/4.828, allocations: 178.5 kB / 3.03 GB, free: 174.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/4.828, allocations: 25.7 kB / 3.03 GB, free: 174.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/4.828, allocations: 139.6 kB / 3.031 GB, free: 174.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/4.828, allocations: 35.45 kB / 3.031 GB, free: 174.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/4.828, allocations: 4 kB / 3.031 GB, free: 174.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/4.828, allocations: 326.8 kB / 3.031 GB, free: 174.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/4.828, allocations: 83.94 kB / 3.031 GB, free: 174 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/4.829, allocations: 137 kB / 3.031 GB, free: 173.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/4.829, allocations: 87.98 kB / 3.031 GB, free: 173.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/4.829, allocations: 0 / 3.031 GB, free: 173.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005627/4.829, allocations: 262.3 kB / 3.032 GB, free: 173.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/4.829, allocations: 8 kB / 3.032 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/4.829, allocations: 0 / 3.032 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/4.829, allocations: 4 kB / 3.032 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/4.83, allocations: 64.03 kB / 3.032 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/4.83, allocations: 11.88 kB / 3.032 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/4.83, allocations: 39.72 kB / 3.032 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/4.83, allocations: 15.98 kB / 3.032 GB, free: 173.4 MB / 1.167 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 () * Number of clocked 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 9.292e-05/4.83, allocations: 129.5 kB / 3.032 GB, free: 173.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/4.83, allocations: 15.91 kB / 3.032 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/4.831, allocations: 290.7 kB / 3.032 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/4.831, allocations: 4 kB / 3.032 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/4.831, allocations: 0 / 3.032 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/4.831, allocations: 7.938 kB / 3.032 GB, free: 172.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/4.831, allocations: 285.3 kB / 3.032 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/4.831, allocations: 0 / 3.032 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/4.832, allocations: 55.89 kB / 3.032 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/4.832, allocations: 0 / 3.032 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/4.832, allocations: 11.98 kB / 3.032 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/4.832, allocations: 0 / 3.032 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/4.832, allocations: 0 / 3.032 GB, free: 172.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/4.832, allocations: 348.7 kB / 3.033 GB, free: 172.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/4.832, allocations: 104.8 kB / 3.033 GB, free: 172.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/4.832, allocations: 4 kB / 3.033 GB, free: 172.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/4.833, allocations: 23.98 kB / 3.033 GB, free: 172.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/4.833, allocations: 11.98 kB / 3.033 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/4.833, allocations: 15.92 kB / 3.033 GB, free: 172 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001215/4.833, allocations: 139.7 kB / 3.033 GB, free: 171.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.833, allocations: 0 / 3.033 GB, free: 171.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004898/4.833, allocations: 104 kB / 3.033 GB, free: 171.8 MB / 1.167 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 () * Number of clocked 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.0008097/4.834, allocations: 0.6725 MB / 3.034 GB, free: 171.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005127/4.835, allocations: 210.4 kB / 3.034 GB, free: 170.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/4.835, allocations: 0 / 3.034 GB, free: 170.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/4.835, allocations: 118.3 kB / 3.034 GB, free: 170.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/4.835, allocations: 45.91 kB / 3.034 GB, free: 170.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/4.836, allocations: 424.8 kB / 3.035 GB, free: 170.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/4.836, allocations: 0.7285 MB / 3.035 GB, free: 169.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003203/4.836, allocations: 53.88 kB / 3.035 GB, free: 169.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/4.836, allocations: 31.41 kB / 3.035 GB, free: 169.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.21e-07/4.836, allocations: 0 / 3.035 GB, free: 169.5 MB / 1.167 GB Notification: Performance of Templates: time 0.01573/4.852, allocations: 11.9 MB / 3.047 GB, free: 157.6 MB / 1.167 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