Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi,fileNamePrefix="Buildings_latest_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_latest_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.009527/0.009527, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.001847/0.001847, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.962/2.962, allocations: 469.4 MB / 0.7421 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 67.89 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3642, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.002205/0.3664, allocations: 0.7843 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3685, allocations: 1.423 MB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.3686, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.3687, allocations: 7.875 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.3688, allocations: 19.81 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.3693, allocations: 123.5 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3695, allocations: 103.7 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3696, allocations: 25.33 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3697, allocations: 47.84 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3699, allocations: 51.75 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.3699, allocations: 4 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.3702, allocations: 151.7 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.3703, allocations: 19.92 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.3703, allocations: 47.72 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.3707, allocations: 171.4 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3707, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3707, allocations: 11.88 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3707, allocations: 0 / 1.223 GB, free: 11.68 MB / 0.9825 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.0008146/0.3715, allocations: 450.7 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3716, allocations: 12.03 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.3716, allocations: 38.75 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007877/0.3724, allocations: 64.81 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3726, allocations: 189.7 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3726, allocations: 4.375 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3726, allocations: 8.375 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.3731, allocations: 151.3 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3731, allocations: 3.938 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3731, allocations: 0 / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3731, allocations: 4 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.3737, allocations: 139.8 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.3745, allocations: 476.7 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.3761, allocations: 249 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.3764, allocations: 73.66 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.3764, allocations: 15.98 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3765, allocations: 34.5 kB / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.3765, allocations: 0 / 1.224 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.001027/0.3775, allocations: 233.4 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3776, allocations: 81.11 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3777, allocations: 148.3 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3777, allocations: 37.64 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.3778, allocations: 92.36 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.3779, allocations: 27.75 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.3779, allocations: 33.64 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3781, allocations: 322.8 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.3783, allocations: 63.94 kB / 1.225 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.3786, allocations: 85.77 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.3792, allocations: 137.9 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3792, allocations: 0 / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006725/0.3799, allocations: 177.5 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3799, allocations: 4 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3799, allocations: 4 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3799, allocations: 0 / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.3802, allocations: 39.89 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3802, allocations: 0 / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3804, allocations: 19.98 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3805, allocations: 7.984 kB / 1.226 GB, free: 8.051 MB / 0.9825 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.0001199/0.3806, allocations: 117.8 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.3807, allocations: 11.91 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007562/0.3814, allocations: 213.6 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3814, allocations: 0 / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.3815, allocations: 3.984 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3815, allocations: 0 / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.3818, allocations: 221.5 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3818, allocations: 0 / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.3821, allocations: 35.95 kB / 1.226 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3821, allocations: 0 / 1.226 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.3821, allocations: 4 kB / 1.226 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3821, allocations: 4 kB / 1.226 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3821, allocations: 4 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.383, allocations: 354.5 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.3831, allocations: 105 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3832, allocations: 0 / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.3834, allocations: 27.91 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.3835, allocations: 7.984 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3835, allocations: 8 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.514e-05/0.3836, allocations: 122 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3836, allocations: 0 / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003421/0.384, allocations: 23.94 kB / 1.227 GB, free: 6.711 MB / 0.9825 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.001172/0.3852, allocations: 0.8912 MB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006452/0.3858, allocations: 143.8 kB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3858, allocations: 0 / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.3862, allocations: 80.39 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.3867, allocations: 25.98 kB / 1.228 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.3902, allocations: 1.831 MB / 1.23 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3906, allocations: 0.6929 MB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001827/0.3908, allocations: 39.98 kB / 1.231 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.3909, allocations: 31.42 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of SimCode: time 4.6e-07/0.3909, allocations: 0 / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.413, allocations: 3.13 MB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.147, allocations: 27.23 kB / 1.234 GB, free: 15.85 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches