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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 213.9 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.322/3.322, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 69.19 kB / 1.186 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3939, allocations: 181.9 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.0023/0.3962, allocations: 0.7439 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3976, allocations: 0.9055 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.3976, allocations: 0 / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.3977, allocations: 7.875 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.537e-05/0.3978, allocations: 19.86 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.398, allocations: 39.88 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.3982, allocations: 99.69 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3983, allocations: 12 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3984, allocations: 47.78 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3985, allocations: 47.81 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.3986, allocations: 8 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.269e-05/0.3986, allocations: 8 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.3987, allocations: 19.92 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.3987, allocations: 31.84 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.3989, allocations: 103.9 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3989, allocations: 0 / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3989, allocations: 3.938 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3989, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 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.0007267/0.3996, allocations: 330 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3997, allocations: 16.03 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.3997, allocations: 34.75 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/0.4001, allocations: 36.86 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4003, allocations: 130.3 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4003, allocations: 384 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.4003, allocations: 4.375 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.4006, allocations: 127.9 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4007, allocations: 3.938 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.4007, allocations: 4 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.4007, allocations: 7.984 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.401, allocations: 99.83 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.4017, allocations: 383.9 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.4021, allocations: 125.1 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.4023, allocations: 57.67 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.4023, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4024, allocations: 38.5 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.4024, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0006834/0.403, allocations: 173.5 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.4031, allocations: 81.05 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.4033, allocations: 156.4 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4033, allocations: 29.7 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.4034, allocations: 92.09 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.4034, allocations: 23.78 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.4034, allocations: 29.7 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4036, allocations: 314.8 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.4038, allocations: 47.89 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.404, allocations: 65.66 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.4043, allocations: 105.6 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4043, allocations: 0 / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000424/0.4047, allocations: 141.5 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4048, allocations: 4 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.4048, allocations: 4 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4048, allocations: 3.984 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.405, allocations: 27.97 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.405, allocations: 3.938 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.4051, allocations: 23.92 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4051, allocations: 4 kB / 1.368 GB, free: 9.219 MB / 1.061 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 0.0001008/0.4052, allocations: 113.8 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.4052, allocations: 8.422 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/0.4058, allocations: 202 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.4058, allocations: 0 / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4058, allocations: 0 / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4058, allocations: 7.938 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.4061, allocations: 168.7 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4061, allocations: 0 / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.4063, allocations: 35.98 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4063, allocations: 0 / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.4063, allocations: 3.984 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4063, allocations: 0 / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4063, allocations: 4 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.4068, allocations: 334.5 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.4069, allocations: 19.88 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.4069, allocations: 7.953 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.4071, allocations: 11.98 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.4071, allocations: 19.91 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.4071, allocations: 7.938 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.499e-05/0.4072, allocations: 112.6 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4072, allocations: 0 / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002884/0.4075, allocations: 16 kB / 1.369 GB, free: 8.082 MB / 1.061 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.0008461/0.4084, allocations: 0.86 MB / 1.37 GB, free: 7.195 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.4088, allocations: 107.8 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4088, allocations: 0 / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.409, allocations: 63.89 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.4095, allocations: 29.61 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.4119, allocations: 1.735 MB / 1.372 GB, free: 5.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.26e-05/0.412, allocations: 85.31 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.932e-05/0.4121, allocations: 16.42 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.4122, allocations: 39.36 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4122, allocations: 4 kB / 1.372 GB, free: 5.012 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.4513, allocations: 3.892 MB / 1.376 GB, free: 1.297 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.91, allocations: 0 / 1.376 GB, free: 1.297 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.842992776073515]