Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.001927/0.001927, 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.002587/0.002587, allocations: 210.5 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.781 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.426/3.426, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",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.002119/0.002119, allocations: 69.58 kB / 1.186 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3553, allocations: 181.9 MB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003558/0.3588, allocations: 2.074 MB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.3617, allocations: 1.301 MB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.3618, allocations: 0 / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.3626, allocations: 235.4 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.3639, allocations: 452.5 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.965e-06/0.3639, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.3643, allocations: 390.5 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.97e-05/0.3644, allocations: 16.58 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.3646, allocations: 147.4 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.3649, allocations: 195.1 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.3649, allocations: 28 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.3655, allocations: 283.6 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000395/0.3659, allocations: 390.8 kB / 1.369 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.3662, allocations: 338.2 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.3676, allocations: 1.171 MB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3676, allocations: 0 / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3676, allocations: 0 / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.3676, allocations: 0 / 1.37 GB, free: 7.25 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001807/0.3694, allocations: 1.181 MB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3694, allocations: 8.031 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.3695, allocations: 50.73 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006669/0.3701, allocations: 152.2 kB / 1.372 GB, free: 5.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004923/0.3751, allocations: 4.229 MB / 1.376 GB, free: 1.551 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.3751, allocations: 12.38 kB / 1.376 GB, free: 1.539 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.3751, allocations: 16.36 kB / 1.376 GB, free: 1.523 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009013/0.376, allocations: 0.638 MB / 1.376 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.376, allocations: 7.984 kB / 1.376 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.3761, allocations: 8 kB / 1.376 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3761, allocations: 4 kB / 1.376 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.3776, allocations: 1.097 MB / 1.377 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.3815, allocations: 3.006 MB / 1.38 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/0.3823, allocations: 334.7 kB / 1.381 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.3827, allocations: 221.1 kB / 1.381 GB, free: 12.15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.619e-05/0.3828, allocations: 35.81 kB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.3828, allocations: 34.56 kB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.834e-06/0.3828, allocations: 0 / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001348/0.3841, allocations: 0.7174 MB / 1.382 GB, free: 11.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.3842, allocations: 51.41 kB / 1.382 GB, free: 11.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008156/0.3923, allocations: 6.501 MB / 1.388 GB, free: 4.766 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.3924, allocations: 33.7 kB / 1.388 GB, free: 4.727 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/0.3928, allocations: 416.4 kB / 1.388 GB, free: 4.316 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.3929, allocations: 71.41 kB / 1.389 GB, free: 4.246 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.393, allocations: 57.7 kB / 1.389 GB, free: 4.184 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3931, allocations: 314 kB / 1.389 GB, free: 3.871 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/0.3939, allocations: 0.531 MB / 1.389 GB, free: 3.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/0.3946, allocations: 0.5643 MB / 1.39 GB, free: 2.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.3956, allocations: 0.767 MB / 1.391 GB, free: 1.996 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3956, allocations: 0 / 1.391 GB, free: 1.996 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001744/0.3974, allocations: 1.231 MB / 1.392 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3974, allocations: 4 kB / 1.392 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3974, allocations: 0 / 1.392 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3974, allocations: 0 / 1.392 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.3978, allocations: 75.92 kB / 1.392 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3978, allocations: 0 / 1.392 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.3982, allocations: 39.83 kB / 1.392 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.3983, allocations: 11.98 kB / 1.392 GB, free: 0.6289 MB / 1.076 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 (30): * Single equations (assignments): 30 * 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.0003532/0.3986, allocations: 282.3 kB / 1.392 GB, free: 352 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.3988, allocations: 95.33 kB / 1.392 GB, free: 256 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.3998, allocations: 0.5645 MB / 1.393 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3998, allocations: 0 / 1.393 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3998, allocations: 3.938 kB / 1.393 GB, free: 15.67 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.3998, allocations: 7.984 kB / 1.393 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.4034, allocations: 2.662 MB / 1.396 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.4034, allocations: 12.09 kB / 1.396 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.4037, allocations: 51.91 kB / 1.396 GB, free: 12.83 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.557e-06/0.4037, allocations: 7.938 kB / 1.396 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.4037, allocations: 8 kB / 1.396 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-06/0.4037, allocations: 11.92 kB / 1.396 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.4037, allocations: 7.984 kB / 1.396 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.4048, allocations: 0.6899 MB / 1.396 GB, free: 12.04 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.4052, allocations: 191.2 kB / 1.397 GB, free: 11.85 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.4053, allocations: 8 kB / 1.397 GB, free: 11.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.4057, allocations: 23.98 kB / 1.397 GB, free: 11.82 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.4058, allocations: 31.84 kB / 1.397 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.4058, allocations: 12 kB / 1.397 GB, free: 11.77 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.005912/0.4117, allocations: 5.157 MB / 1.402 GB, free: 6.605 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4117, allocations: 4 kB / 1.402 GB, free: 6.602 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007527/0.4125, allocations: 187.9 kB / 1.402 GB, free: 6.418 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.001787/0.4143, allocations: 1.287 MB / 1.403 GB, free: 5.043 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.4155, allocations: 0.7731 MB / 1.404 GB, free: 4.27 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4155, allocations: 0 / 1.404 GB, free: 4.27 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.4159, allocations: 220.3 kB / 1.404 GB, free: 4.055 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.4169, allocations: 188.7 kB / 1.404 GB, free: 3.867 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02899/0.4459, allocations: 22.94 MB / 1.427 GB, free: 12.7 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.4465, allocations: 407.5 kB / 1.427 GB, free: 12.27 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005127/0.447, allocations: 145.3 kB / 1.427 GB, free: 12.12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/0.4475, allocations: 295.3 kB / 1.427 GB, free: 11.83 MB / 1.123 GB Notification: Performance of SimCode: time 1.212e-06/0.4475, allocations: 0 / 1.427 GB, free: 11.83 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06693/0.5145, allocations: 25.69 MB / 1.453 GB, free: 2.477 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.26, allocations: 5.656 kB / 1.453 GB, free: 2.473 MB / 1.139 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.429074376821518]