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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",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.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 104.3 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001466, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.627/2.627, allocations: 482.4 MB / 0.7553 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 62.83 kB / 0.9245 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6898/0.6917, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.00179/0.6936, allocations: 0.7573 MB / 1.084 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.6944, allocations: 0.8795 MB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.6944, allocations: 0.5625 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.6945, allocations: 9.328 kB / 1.085 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.6946, allocations: 20.33 kB / 1.085 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.6947, allocations: 37.62 kB / 1.085 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.6948, allocations: 96.34 kB / 1.085 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.695, allocations: 16.08 kB / 1.085 GB, free: 404 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.695, allocations: 48.02 kB / 1.085 GB, free: 380 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.892e-05/0.6951, allocations: 42.84 kB / 1.085 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.6952, allocations: 6.969 kB / 1.085 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.148e-05/0.6952, allocations: 11.38 kB / 1.085 GB, free: 360 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.6952, allocations: 20.61 kB / 1.085 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.6953, allocations: 41.56 kB / 1.085 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.6954, allocations: 92.77 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6954, allocations: 0 / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6954, allocations: 0 / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.6954, allocations: 1.375 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006696/0.6961, allocations: 403.9 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.6961, allocations: 9.406 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.6962, allocations: 8.875 kB / 1.085 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.6963, allocations: 181 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.6964, allocations: 7.562 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.6964, allocations: 9.281 kB / 1.086 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.6967, allocations: 131.4 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.6967, allocations: 192 / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.6968, allocations: 5.75 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.6968, allocations: 1.156 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/0.6971, allocations: 97.72 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.6977, allocations: 443.3 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004096/0.6982, allocations: 122.1 kB / 1.086 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.6984, allocations: 60.03 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.6984, allocations: 1.125 kB / 1.086 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.6984, allocations: 33.73 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.6984, allocations: 0 / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0006638/0.6991, allocations: 176.1 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.6992, allocations: 79.05 kB / 1.087 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.6993, allocations: 137 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.6993, allocations: 26.8 kB / 1.087 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.6994, allocations: 102.3 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.6994, allocations: 23.75 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.6995, allocations: 24.16 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6997, allocations: 322.9 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.6998, allocations: 47.23 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.7, allocations: 66.17 kB / 1.087 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.7004, allocations: 101.7 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7004, allocations: 0 / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004091/0.7008, allocations: 147.9 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.7008, allocations: 5.719 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7008, allocations: 0 / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.7009, allocations: 1.75 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.701, allocations: 25.19 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.701, allocations: 1.312 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.7012, allocations: 29 kB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.7012, allocations: 3.469 kB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/0.7013, allocations: 122.5 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.7013, allocations: 7.625 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005288/0.7019, allocations: 191.3 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.7019, allocations: 2.219 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7019, allocations: 0.75 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.7019, allocations: 5.891 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.7022, allocations: 210.7 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.7022, allocations: 1.219 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.7024, allocations: 30.73 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7024, allocations: 1.594 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.7024, allocations: 5.766 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.7024, allocations: 2.219 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7024, allocations: 4 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.7029, allocations: 322.2 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.031e-05/0.703, allocations: 103.4 kB / 1.089 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.7031, allocations: 5.75 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.7033, allocations: 19.78 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.7033, allocations: 11.77 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.7033, allocations: 8.203 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001029/0.7035, allocations: 111.5 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7035, allocations: 0 / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002741/0.7037, allocations: 20.25 kB / 1.089 GB, free: 13.2 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.7039, allocations: 101.5 kB / 1.089 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.7043, allocations: 113.6 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7043, allocations: 0 / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.7045, allocations: 67.36 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.705, allocations: 28.98 kB / 1.089 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.7055, allocations: 257.9 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.7059, allocations: 0.702 MB / 1.09 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.7059, allocations: 19.05 kB / 1.09 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.7059, allocations: 1.281 kB / 1.09 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.00308/0.709, allocations: 1.403 MB / 1.091 GB, free: 12.04 MB / 0.8419 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=400 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches