Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00855/0.00855, allocations: 102 kB / 15.73 MB, free: 6.477 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.002048/0.002049, allocations: 195.6 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.461/2.461, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.533/3.533, allocations: 390.3 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 62.53 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3739, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.003072/0.377, allocations: 0.802 MB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.3804, allocations: 1.422 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.3805, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.3807, allocations: 7.875 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.3808, allocations: 23.73 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.3816, allocations: 119.5 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.3819, allocations: 115.6 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.3821, allocations: 17.39 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3822, allocations: 43.86 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.3824, allocations: 39.83 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.3824, allocations: 11.94 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.3829, allocations: 155.7 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.383, allocations: 23.92 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.741e-05/0.3831, allocations: 39.78 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.3836, allocations: 174.9 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3836, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3836, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.3836, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 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.001219/0.3848, allocations: 447.3 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.3849, allocations: 8.031 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.385, allocations: 42.73 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.3864, allocations: 68.67 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.3867, allocations: 184.1 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.3867, allocations: 8.375 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.3868, allocations: 4.375 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008467/0.3876, allocations: 153.1 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3877, allocations: 3.938 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.3877, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.3878, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3889, allocations: 143.8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.3903, allocations: 476.6 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.3934, allocations: 237.1 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.394, allocations: 81.64 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.3941, allocations: 3.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.3941, allocations: 34.5 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 3.367e-06/0.3941, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001915/0.3961, allocations: 245.3 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.3961, allocations: 77.11 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.3964, allocations: 149.3 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.3965, allocations: 25.7 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3966, allocations: 92.36 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.3967, allocations: 27.55 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3968, allocations: 29.7 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.397, allocations: 322.8 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/0.3975, allocations: 63.92 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.3981, allocations: 77.59 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.3992, allocations: 137.5 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3992, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001235/0.4005, allocations: 173.8 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4005, allocations: 8 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.4005, allocations: 4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.4006, allocations: 96 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.4011, allocations: 43.88 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.4011, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.4015, allocations: 27.81 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.4016, allocations: 0 / 1.094 GB, free: 11.44 MB / 0.8575 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.0001801/0.4018, allocations: 125.8 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.4019, allocations: 11.91 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.4033, allocations: 205.7 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4034, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.4034, allocations: 4 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4034, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.404, allocations: 221.6 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.404, allocations: 4 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.4045, allocations: 31.95 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.4045, allocations: 0 / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.4046, allocations: 7.938 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.4046, allocations: 7.922 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4046, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.406, allocations: 354.5 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.4062, allocations: 101 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.4062, allocations: 8 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.4068, allocations: 19.97 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.4069, allocations: 3.984 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.4069, allocations: 4 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001628/0.4071, allocations: 125 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4071, allocations: 0 / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006608/0.4078, allocations: 35.94 kB / 1.095 GB, free: 10.09 MB / 0.8575 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 (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 Backend phase and start with SimCode phase: time 0.001971/0.4098, allocations: 0.8917 MB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.411, allocations: 147.8 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.411, allocations: 0 / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005739/0.4116, allocations: 67.94 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/0.4126, allocations: 37.75 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/0.4184, allocations: 1.812 MB / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.4189, allocations: 0.7041 MB / 1.098 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003471/0.4193, allocations: 28.11 kB / 1.098 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.4194, allocations: 27.41 kB / 1.098 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of SimCode: time 1.373e-06/0.4195, allocations: 8 kB / 1.098 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.4515, allocations: 3.123 MB / 1.102 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.44, allocations: 12.95 kB / 1.102 GB, free: 3.266 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches