Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.525/2.525, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001176/0.001176, allocations: 183.5 kB / 0.4902 GB, free: 2.285 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.56/1.56, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.00137/0.00137, allocations: 92.27 kB / 0.9396 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 11.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3168, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.365/4.682, allocations: 1.731 GB / 2.961 GB, free: 256.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/4.682, allocations: 84.66 kB / 2.961 GB, free: 256 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1407/4.823, allocations: 75.8 MB / 3.035 GB, free: 178.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.603e-06/4.823, allocations: 0 / 3.035 GB, free: 178.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.492e-05/4.823, allocations: 4 kB / 3.035 GB, free: 178.8 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.0009257/4.824, allocations: 494.6 kB / 3.035 GB, free: 178.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/4.824, allocations: 12.52 kB / 3.035 GB, free: 178.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009015/4.825, allocations: 79.72 kB / 3.035 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/4.825, allocations: 227 kB / 3.035 GB, free: 177.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/4.825, allocations: 12 kB / 3.035 GB, free: 177.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/4.825, allocations: 20 kB / 3.035 GB, free: 177.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/4.826, allocations: 262.8 kB / 3.036 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/4.826, allocations: 0 / 3.036 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/4.826, allocations: 8 kB / 3.036 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/4.826, allocations: 4 kB / 3.036 GB, free: 177.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/4.826, allocations: 200.6 kB / 3.036 GB, free: 177.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/4.828, allocations: 1.01 MB / 3.037 GB, free: 176.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/4.828, allocations: 170.4 kB / 3.037 GB, free: 176.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/4.828, allocations: 0 / 3.037 GB, free: 176.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/4.828, allocations: 38.56 kB / 3.037 GB, free: 176.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/4.828, allocations: 7.938 kB / 3.037 GB, free: 176.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0007046/4.829, allocations: 253.5 kB / 3.037 GB, free: 175.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/4.829, allocations: 55.41 kB / 3.037 GB, free: 175.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/4.829, allocations: 178.5 kB / 3.038 GB, free: 175.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/4.829, allocations: 25.7 kB / 3.038 GB, free: 175.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/4.829, allocations: 139.6 kB / 3.038 GB, free: 175.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/4.829, allocations: 39.47 kB / 3.038 GB, free: 175.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/4.829, allocations: 4 kB / 3.038 GB, free: 175.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/4.829, allocations: 330.8 kB / 3.038 GB, free: 175 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/4.83, allocations: 75.94 kB / 3.038 GB, free: 175 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/4.83, allocations: 132.3 kB / 3.038 GB, free: 174.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/4.83, allocations: 99.52 kB / 3.038 GB, free: 174.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/4.83, allocations: 0 / 3.038 GB, free: 174.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006/4.831, allocations: 257.2 kB / 3.039 GB, free: 174.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/4.831, allocations: 8.156 kB / 3.039 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/4.831, allocations: 0 / 3.039 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/4.831, allocations: 11.92 kB / 3.039 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/4.831, allocations: 51.95 kB / 3.039 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/4.831, allocations: 11.89 kB / 3.039 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/4.832, allocations: 39.75 kB / 3.039 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/4.832, allocations: 15.98 kB / 3.039 GB, free: 174.3 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 0.0001075/4.832, allocations: 121.8 kB / 3.039 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/4.832, allocations: 11.81 kB / 3.039 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/4.832, allocations: 308 kB / 3.039 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/4.832, allocations: 0 / 3.039 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/4.832, allocations: 0 / 3.039 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/4.832, allocations: 3.953 kB / 3.039 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/4.833, allocations: 285.4 kB / 3.039 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/4.833, allocations: 0 / 3.039 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/4.833, allocations: 47.97 kB / 3.04 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/4.833, allocations: 0 / 3.04 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/4.833, allocations: 11.98 kB / 3.04 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/4.833, allocations: 3.938 kB / 3.04 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/4.833, allocations: 0 / 3.04 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/4.834, allocations: 353.5 kB / 3.04 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/4.834, allocations: 100.8 kB / 3.04 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/4.834, allocations: 7.938 kB / 3.04 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/4.834, allocations: 19.98 kB / 3.04 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/4.834, allocations: 19.83 kB / 3.04 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/4.834, allocations: 12 kB / 3.04 GB, free: 172.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001208/4.834, allocations: 147.7 kB / 3.04 GB, free: 172.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/4.834, allocations: 0 / 3.04 GB, free: 172.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004954/4.835, allocations: 107.9 kB / 3.04 GB, free: 172.7 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.0008699/4.836, allocations: 0.6671 MB / 3.041 GB, free: 172 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005243/4.836, allocations: 203.8 kB / 3.041 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/4.836, allocations: 3.938 kB / 3.041 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/4.836, allocations: 116.2 kB / 3.041 GB, free: 171.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/4.837, allocations: 48.22 kB / 3.041 GB, free: 171.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/4.837, allocations: 435 kB / 3.042 GB, free: 171.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/4.838, allocations: 0.7323 MB / 3.042 GB, free: 170.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002989/4.838, allocations: 45.94 kB / 3.042 GB, free: 170.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.541e-05/4.838, allocations: 35.41 kB / 3.042 GB, free: 170.4 MB / 1.167 GB Notification: Performance of SimCode: time 5.51e-07/4.838, allocations: 3.938 kB / 3.042 GB, free: 170.4 MB / 1.167 GB Notification: Performance of Templates: time 0.01552/4.853, allocations: 11.88 MB / 3.054 GB, free: 158.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches