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.001319/0.001319, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001534/0.001534, allocations: 218 kB / 22.26 MB, free: 5.121 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 8.004 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.393/3.393, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.001984/0.001984, allocations: 70.33 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3934, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004973/0.3984, allocations: 2.218 MB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.4018, allocations: 1.43 MB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.402, allocations: 0 / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.403, allocations: 283.3 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.4046, allocations: 453.5 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 1.031e-05/0.4046, allocations: 0 / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006296/0.4052, allocations: 386.5 kB / 1.358 GB, free: 3.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.4053, allocations: 16.58 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.4055, allocations: 151.3 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.4059, allocations: 211.1 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.406, allocations: 24 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008611/0.4068, allocations: 299.6 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004962/0.4073, allocations: 390.9 kB / 1.359 GB, free: 2.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.4079, allocations: 413.7 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.4097, allocations: 1.167 MB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4097, allocations: 0 / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4097, allocations: 0 / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.4097, allocations: 3.984 kB / 1.36 GB, free: 1.078 MB / 1.045 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.002643/0.4123, allocations: 1.175 MB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4124, allocations: 8.031 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.279e-05/0.4125, allocations: 46.73 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.4135, allocations: 152.2 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006666/0.4201, allocations: 4.217 MB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.4202, allocations: 12.38 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.4202, allocations: 12.38 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.4215, allocations: 0.6341 MB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4216, allocations: 0 / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.4216, allocations: 11.94 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.4216, allocations: 8 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.4237, allocations: 1.113 MB / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006084/0.4298, allocations: 3.126 MB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.431, allocations: 334.7 kB / 1.371 GB, free: 6.094 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.4315, allocations: 228.8 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.012e-05/0.4316, allocations: 31.91 kB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.4316, allocations: 34.56 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 3.737e-06/0.4316, allocations: 0 / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.002111/0.4337, allocations: 0.7218 MB / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.4338, allocations: 59.41 kB / 1.372 GB, free: 4.996 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/0.4457, allocations: 6.493 MB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4458, allocations: 33.7 kB / 1.378 GB, free: 14.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005712/0.4464, allocations: 408.5 kB / 1.378 GB, free: 14.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.4465, allocations: 71.42 kB / 1.379 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.4467, allocations: 61.64 kB / 1.379 GB, free: 13.9 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4469, allocations: 314 kB / 1.379 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009691/0.4479, allocations: 0.531 MB / 1.379 GB, free: 13.06 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009747/0.4488, allocations: 0.5483 MB / 1.38 GB, free: 12.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4503, allocations: 0.7791 MB / 1.381 GB, free: 11.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.4503, allocations: 0 / 1.381 GB, free: 11.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002535/0.4529, allocations: 1.227 MB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.4529, allocations: 4 kB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4529, allocations: 0 / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4529, allocations: 4 kB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.4534, allocations: 67.98 kB / 1.382 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/0.4534, allocations: 0 / 1.382 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.4542, allocations: 51.69 kB / 1.382 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.4543, allocations: 8 kB / 1.382 GB, free: 10.35 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.0005513/0.4548, allocations: 286.3 kB / 1.382 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.4551, allocations: 99.27 kB / 1.382 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.4565, allocations: 0.5622 MB / 1.383 GB, free: 9.395 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4565, allocations: 4 kB / 1.383 GB, free: 9.391 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4565, allocations: 0 / 1.383 GB, free: 9.391 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4565, allocations: 3.984 kB / 1.383 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/0.4616, allocations: 2.79 MB / 1.386 GB, free: 6.488 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4616, allocations: 4 kB / 1.386 GB, free: 6.484 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.462, allocations: 47.91 kB / 1.386 GB, free: 6.438 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.462, allocations: 7.938 kB / 1.386 GB, free: 6.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.462, allocations: 19.98 kB / 1.386 GB, free: 6.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.4621, allocations: 4 kB / 1.386 GB, free: 6.406 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/0.4621, allocations: 11.94 kB / 1.386 GB, free: 6.395 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.4637, allocations: 0.6798 MB / 1.386 GB, free: 5.641 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005374/0.4642, allocations: 187.2 kB / 1.387 GB, free: 5.457 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.4644, allocations: 12 kB / 1.387 GB, free: 5.445 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.4648, allocations: 23.98 kB / 1.387 GB, free: 5.422 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.4648, allocations: 31.84 kB / 1.387 GB, free: 5.391 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.4649, allocations: 12 kB / 1.387 GB, free: 5.379 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005916/0.4708, allocations: 5.16 MB / 1.392 GB, free: 212 kB / 1.076 GB Notification: Performance of sort global known variables: time 3e-07/0.4708, allocations: 0 / 1.392 GB, free: 212 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008384/0.4716, allocations: 175.9 kB / 1.392 GB, free: 36 kB / 1.076 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.001689/0.4733, allocations: 1.296 MB / 1.393 GB, free: 14.65 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.4745, allocations: 0.7651 MB / 1.394 GB, free: 13.89 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4745, allocations: 0 / 1.394 GB, free: 13.89 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.4748, allocations: 228.6 kB / 1.394 GB, free: 13.66 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4759, allocations: 198.2 kB / 1.394 GB, free: 13.47 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02719/0.503, allocations: 22.93 MB / 1.417 GB, free: 6.289 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.5037, allocations: 1.003 MB / 1.418 GB, free: 5.258 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004302/0.5042, allocations: 145.4 kB / 1.418 GB, free: 5.113 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004259/0.5046, allocations: 299.3 kB / 1.418 GB, free: 4.82 MB / 1.107 GB Notification: Performance of SimCode: time 1.453e-06/0.5046, allocations: 0 / 1.418 GB, free: 4.82 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06234/0.5669, allocations: 24.07 MB / 1.442 GB, free: 13.02 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.88, allocations: 1.5 kB / 1.442 GB, free: 13.02 MB / 1.139 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_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_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.csv","/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: 20.250680179000028]