Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_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.001311/0.001311, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001524/0.001524, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.568/1.568, 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.33/3.33, 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.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_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.002093/0.002093, allocations: 74.56 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3939, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001976/0.3959, allocations: 0.6721 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.3983, allocations: 1.363 MB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.3983, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.07e-05/0.3984, allocations: 3.938 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.3985, allocations: 15.91 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.3989, allocations: 99.56 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.935e-05/0.399, allocations: 47.84 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3991, allocations: 8 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.422e-05/0.3992, allocations: 19.92 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.3993, allocations: 27.91 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3993, allocations: 4 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.3996, allocations: 135.8 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.3996, allocations: 15.92 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.3997, allocations: 15.92 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.4, allocations: 131.9 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.4, allocations: 0 / 1.366 GB, free: 11.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006422/0.4006, allocations: 313.9 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4007, allocations: 8.031 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.486e-05/0.4007, allocations: 38.69 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.4012, allocations: 36.84 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.4013, allocations: 114.4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.4013, allocations: 8.375 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.4013, allocations: 4.375 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.4016, allocations: 86.19 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4016, allocations: 3.938 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4017, allocations: 0 / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4017, allocations: 0 / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.402, allocations: 75.91 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.4026, allocations: 283.8 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.403, allocations: 78.55 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.4031, allocations: 32.88 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.4032, allocations: 4 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4032, allocations: 34.56 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4032, allocations: 0 / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0005606/0.4037, allocations: 129.5 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.4038, allocations: 51.41 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.4039, allocations: 117.8 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4039, allocations: 25.7 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.404, allocations: 92.12 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.404, allocations: 15.84 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.4041, allocations: 17.7 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4042, allocations: 322.8 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.4044, allocations: 27.97 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4045, allocations: 35.97 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.4048, allocations: 68.73 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4048, allocations: 4 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003398/0.4051, allocations: 105.5 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4052, allocations: 8 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4052, allocations: 7.969 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4052, allocations: 0 / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.4053, allocations: 16.36 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4053, allocations: 0 / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.4054, allocations: 11.98 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4054, allocations: 0 / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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.0001159/0.4056, allocations: 125.7 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.4056, allocations: 7.953 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.4056, allocations: 15.98 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4056, allocations: 0 / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4056, allocations: 0 / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4056, allocations: 192 / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.4058, allocations: 144.7 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4059, allocations: 0 / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.406, allocations: 19.97 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.406, allocations: 0 / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.406, allocations: 0 / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.406, allocations: 4 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.406, allocations: 0 / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.4064, allocations: 195.4 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.4064, allocations: 7.984 kB / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.4064, allocations: 0 / 1.368 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4065, allocations: 11.98 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.4066, allocations: 11.94 kB / 1.368 GB, free: 8.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4066, allocations: 0 / 1.368 GB, free: 8.598 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.964e-05/0.4067, allocations: 91.27 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4067, allocations: 0 / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000251/0.4069, allocations: 19.94 kB / 1.369 GB, free: 8.488 MB / 1.061 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 (4): * Single equations (assignments): 4 * 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.0007647/0.4077, allocations: 0.7478 MB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.408, allocations: 75.84 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.408, allocations: 0 / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4082, allocations: 31.97 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4085, allocations: 15.94 kB / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.4106, allocations: 1.417 MB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.4107, allocations: 71.28 kB / 1.371 GB, free: 6.012 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.236e-05/0.4108, allocations: 12 kB / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.4109, allocations: 15.42 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.4109, allocations: 4 kB / 1.371 GB, free: 5.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.4454, allocations: 2.63 MB / 1.373 GB, free: 3.523 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.8, allocations: 7.484 kB / 1.373 GB, free: 3.52 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_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: 19.00360353384167]