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.001755/0.001755, 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.002077/0.002077, allocations: 209.8 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.785 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.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.002936/0.002936, allocations: 66.5 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3946, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003501/0.3981, allocations: 2.07 MB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.4004, allocations: 1.301 MB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.4005, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.4012, allocations: 243.4 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.4022, allocations: 442.5 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.413e-06/0.4022, allocations: 4 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.4026, allocations: 398.5 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.22e-05/0.4027, allocations: 12.59 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.4029, allocations: 143.4 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.4032, allocations: 203.1 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.4032, allocations: 24 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005587/0.4038, allocations: 283.6 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.4041, allocations: 390.8 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.4045, allocations: 338.2 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.4058, allocations: 1.159 MB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4058, allocations: 11.94 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4058, allocations: 0 / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.4058, allocations: 0 / 1.37 GB, free: 7.094 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.001837/0.4076, allocations: 1.183 MB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4077, allocations: 12.03 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.818e-05/0.4077, allocations: 50.73 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.4084, allocations: 148.2 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/0.4129, allocations: 4.225 MB / 1.376 GB, free: 1.395 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.4129, allocations: 12.38 kB / 1.376 GB, free: 1.383 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.4129, allocations: 12.38 kB / 1.376 GB, free: 1.371 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.4138, allocations: 0.638 MB / 1.376 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4138, allocations: 4 kB / 1.376 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.4139, allocations: 4 kB / 1.376 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4139, allocations: 4 kB / 1.376 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.4153, allocations: 1.101 MB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.4193, allocations: 3.006 MB / 1.38 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/0.4201, allocations: 334.6 kB / 1.381 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.4204, allocations: 225.1 kB / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.4205, allocations: 31.81 kB / 1.381 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.4205, allocations: 38.56 kB / 1.381 GB, free: 11.92 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.474e-06/0.4205, allocations: 0 / 1.381 GB, free: 11.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001378/0.4219, allocations: 0.7222 MB / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.422, allocations: 55.41 kB / 1.382 GB, free: 11.13 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007938/0.4299, allocations: 6.497 MB / 1.388 GB, free: 4.609 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.43, allocations: 25.7 kB / 1.388 GB, free: 4.578 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.4304, allocations: 424.4 kB / 1.388 GB, free: 4.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.4305, allocations: 63.44 kB / 1.389 GB, free: 4.098 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.4306, allocations: 57.69 kB / 1.389 GB, free: 4.035 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4307, allocations: 314 kB / 1.389 GB, free: 3.723 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007471/0.4315, allocations: 0.5349 MB / 1.389 GB, free: 3.188 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007108/0.4322, allocations: 0.5644 MB / 1.39 GB, free: 2.617 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.4333, allocations: 0.7592 MB / 1.391 GB, free: 1.852 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4333, allocations: 0 / 1.391 GB, free: 1.852 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001833/0.4351, allocations: 1.243 MB / 1.392 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4351, allocations: 4 kB / 1.392 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4351, allocations: 0 / 1.392 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4351, allocations: 4 kB / 1.392 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.4355, allocations: 67.89 kB / 1.392 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4355, allocations: 3.938 kB / 1.392 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.4359, allocations: 39.83 kB / 1.392 GB, free: 496 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.436, allocations: 16.02 kB / 1.392 GB, free: 480 kB / 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.0003463/0.4363, allocations: 278.3 kB / 1.392 GB, free: 192 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.4365, allocations: 95.33 kB / 1.392 GB, free: 96 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.4375, allocations: 0.5567 MB / 1.393 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4375, allocations: 4 kB / 1.393 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4375, allocations: 0 / 1.393 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4375, allocations: 4 kB / 1.393 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/0.441, allocations: 2.673 MB / 1.396 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.441, allocations: 4 kB / 1.396 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.4413, allocations: 55.89 kB / 1.396 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.4413, allocations: 4 kB / 1.396 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.4413, allocations: 12.38 kB / 1.396 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.4414, allocations: 15.94 kB / 1.396 GB, free: 12.65 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4414, allocations: 4 kB / 1.396 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.4424, allocations: 0.6855 MB / 1.396 GB, free: 11.89 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.4428, allocations: 187.2 kB / 1.397 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.4429, allocations: 19.98 kB / 1.397 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.4433, allocations: 23.98 kB / 1.397 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.4433, allocations: 31.84 kB / 1.397 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.4434, allocations: 12 kB / 1.397 GB, free: 11.62 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.005531/0.4489, allocations: 5.153 MB / 1.402 GB, free: 6.453 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4489, allocations: 0 / 1.402 GB, free: 6.453 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007521/0.4496, allocations: 191.9 kB / 1.402 GB, free: 6.266 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.001851/0.4515, allocations: 1.287 MB / 1.403 GB, free: 4.891 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.4528, allocations: 0.7731 MB / 1.404 GB, free: 4.117 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-05/0.4528, allocations: 0 / 1.404 GB, free: 4.117 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.4532, allocations: 216.8 kB / 1.404 GB, free: 3.906 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4543, allocations: 196.2 kB / 1.404 GB, free: 3.711 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/0.4828, allocations: 22.93 MB / 1.427 GB, free: 12.55 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.4835, allocations: 411.2 kB / 1.427 GB, free: 12.11 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00051/0.484, allocations: 145.4 kB / 1.427 GB, free: 11.97 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/0.4845, allocations: 295.2 kB / 1.427 GB, free: 11.68 MB / 1.123 GB Notification: Performance of SimCode: time 1.433e-06/0.4845, allocations: 0 / 1.427 GB, free: 11.68 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07046/0.5549, allocations: 25.68 MB / 1.453 GB, free: 2.336 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.52, allocations: 4.5 kB / 1.453 GB, free: 2.332 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: 19.586614995263517]