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.0015/0.0015, allocations: 108.8 kB / 16.46 MB, free: 6.453 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.001859/0.001859, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.71/1.71, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.58/3.58, allocations: 0.505 GB / 0.8066 GB, free: 23.08 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.002957/0.002957, allocations: 63.06 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4085, allocations: 180.2 MB / 1.348 GB, free: 9.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003917/0.4124, allocations: 2.23 MB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002807/0.4152, allocations: 1.402 MB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.4153, allocations: 3.938 kB / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.416, allocations: 259.4 kB / 1.352 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.417, allocations: 434.6 kB / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.534e-06/0.417, allocations: 0 / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.4174, allocations: 394.5 kB / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.1e-05/0.4175, allocations: 12.41 kB / 1.352 GB, free: 5.234 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.4176, allocations: 147.4 kB / 1.353 GB, free: 5.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.418, allocations: 211.2 kB / 1.353 GB, free: 4.883 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.4181, allocations: 24 kB / 1.353 GB, free: 4.859 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.4186, allocations: 271.6 kB / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.4191, allocations: 402.8 kB / 1.353 GB, free: 4.199 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.4195, allocations: 417.7 kB / 1.354 GB, free: 3.789 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.421, allocations: 1.152 MB / 1.355 GB, free: 2.633 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.421, allocations: 0 / 1.355 GB, free: 2.633 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.421, allocations: 0 / 1.355 GB, free: 2.633 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.421, allocations: 3.938 kB / 1.355 GB, free: 2.629 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.00212/0.4231, allocations: 1.255 MB / 1.356 GB, free: 1.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.4232, allocations: 11.98 kB / 1.356 GB, free: 1.309 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.967e-05/0.4233, allocations: 50.67 kB / 1.356 GB, free: 1.25 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007347/0.424, allocations: 156.2 kB / 1.356 GB, free: 1.098 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005129/0.4291, allocations: 4.266 MB / 1.361 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.4292, allocations: 16.31 kB / 1.361 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.4292, allocations: 12.38 kB / 1.361 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.4303, allocations: 0.6341 MB / 1.361 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4303, allocations: 0 / 1.361 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.4303, allocations: 11.98 kB / 1.361 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.4303, allocations: 4 kB / 1.361 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.432, allocations: 1.109 MB / 1.362 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004919/0.4369, allocations: 3.159 MB / 1.365 GB, free: 7.773 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.4379, allocations: 346.6 kB / 1.366 GB, free: 7.426 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/0.4384, allocations: 220.7 kB / 1.366 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.477e-05/0.4384, allocations: 31.92 kB / 1.366 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.4385, allocations: 30.56 kB / 1.366 GB, free: 7.137 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.765e-06/0.4385, allocations: 4 kB / 1.366 GB, free: 7.133 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001927/0.4404, allocations: 0.7218 MB / 1.367 GB, free: 6.406 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.4405, allocations: 55.34 kB / 1.367 GB, free: 6.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00899/0.4495, allocations: 6.497 MB / 1.373 GB, free: 15.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.4495, allocations: 29.7 kB / 1.373 GB, free: 15.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/0.4501, allocations: 412.5 kB / 1.373 GB, free: 15.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.4502, allocations: 75.41 kB / 1.374 GB, free: 15.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.4503, allocations: 61.64 kB / 1.374 GB, free: 15.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.4505, allocations: 314 kB / 1.374 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007135/0.4513, allocations: 0.531 MB / 1.374 GB, free: 14.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007079/0.452, allocations: 0.5522 MB / 1.375 GB, free: 13.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.453, allocations: 0.7714 MB / 1.376 GB, free: 13.06 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.453, allocations: 0 / 1.376 GB, free: 13.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001862/0.4549, allocations: 1.231 MB / 1.377 GB, free: 11.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.4549, allocations: 4 kB / 1.377 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4549, allocations: 0 / 1.377 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.455, allocations: 4 kB / 1.377 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.4554, allocations: 67.92 kB / 1.377 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4554, allocations: 0 / 1.377 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.4559, allocations: 47.75 kB / 1.377 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.4559, allocations: 8 kB / 1.377 GB, free: 11.69 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.000409/0.4563, allocations: 281.6 kB / 1.377 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.4565, allocations: 99.31 kB / 1.377 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.4577, allocations: 0.5622 MB / 1.378 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.4577, allocations: 0 / 1.378 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4577, allocations: 3.984 kB / 1.378 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4577, allocations: 7.938 kB / 1.378 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/0.4616, allocations: 2.811 MB / 1.381 GB, free: 7.801 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.4616, allocations: 4 kB / 1.381 GB, free: 7.797 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.4618, allocations: 51.91 kB / 1.381 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.4618, allocations: 8 kB / 1.381 GB, free: 7.738 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.4619, allocations: 11.98 kB / 1.381 GB, free: 7.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/0.4619, allocations: 7.938 kB / 1.381 GB, free: 7.719 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.4619, allocations: 4 kB / 1.381 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.463, allocations: 0.6876 MB / 1.381 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.4633, allocations: 256.4 kB / 1.382 GB, free: 6.684 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.4635, allocations: 11.94 kB / 1.382 GB, free: 6.672 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.4638, allocations: 31.97 kB / 1.382 GB, free: 6.641 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.4639, allocations: 31.86 kB / 1.382 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.4639, allocations: 8 kB / 1.382 GB, free: 6.602 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005659/0.4696, allocations: 5.157 MB / 1.387 GB, free: 1.434 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4696, allocations: 0 / 1.387 GB, free: 1.434 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007654/0.4704, allocations: 187.9 kB / 1.387 GB, free: 1.25 MB / 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.001987/0.4723, allocations: 1.292 MB / 1.388 GB, free: 15.87 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.4737, allocations: 0.7651 MB / 1.389 GB, free: 15.11 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4737, allocations: 4 kB / 1.389 GB, free: 15.1 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.4742, allocations: 220.6 kB / 1.389 GB, free: 14.89 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4752, allocations: 196.4 kB / 1.389 GB, free: 14.69 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02997/0.5052, allocations: 22.94 MB / 1.412 GB, free: 7.516 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.506, allocations: 1.003 MB / 1.413 GB, free: 6.484 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004535/0.5065, allocations: 141.4 kB / 1.413 GB, free: 6.344 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.507, allocations: 295.3 kB / 1.413 GB, free: 6.055 MB / 1.107 GB Notification: Performance of SimCode: time 1.263e-06/0.507, allocations: 0 / 1.413 GB, free: 6.055 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06597/0.573, allocations: 23.85 MB / 1.437 GB, free: 14.47 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.65, allocations: 2.641 kB / 1.437 GB, free: 14.47 MB / 1.139 GB " [Timeout remaining time 289] (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: 18.19066731305793]