Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00134/0.00134, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001875/0.001875, allocations: 210.9 kB / 22.24 MB, free: 4.859 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.717/1.717, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.32/3.32, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_12_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.002091/0.002091, allocations: 65.66 kB / 1.153 GB, free: 25.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3402, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003445/0.3436, allocations: 2.075 MB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.3459, allocations: 1.313 MB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.346, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006397/0.3466, allocations: 247.3 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.3476, allocations: 442.5 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.134e-06/0.3476, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.348, allocations: 390.5 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.3481, allocations: 12.59 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.3482, allocations: 143.4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.3485, allocations: 203.1 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.3486, allocations: 24 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005588/0.3491, allocations: 283.6 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.3495, allocations: 394.8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.3498, allocations: 338.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.351, allocations: 1.171 MB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.351, allocations: 3.984 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.351, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.3511, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 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.001821/0.3529, allocations: 1.175 MB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3529, allocations: 12.03 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.353, allocations: 50.73 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006693/0.3537, allocations: 156.2 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/0.3582, allocations: 4.221 MB / 1.337 GB, free: 5.672 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.3582, allocations: 8.375 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.3583, allocations: 16.38 kB / 1.337 GB, free: 5.648 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/0.3592, allocations: 0.638 MB / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3592, allocations: 0 / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.3592, allocations: 4 kB / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3592, allocations: 4 kB / 1.338 GB, free: 4.996 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.3606, allocations: 1.105 MB / 1.339 GB, free: 3.891 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.3645, allocations: 3.002 MB / 1.342 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008134/0.3653, allocations: 336.2 kB / 1.342 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.3656, allocations: 224.8 kB / 1.343 GB, free: 292 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.3657, allocations: 27.92 kB / 1.343 GB, free: 264 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3657, allocations: 34.55 kB / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.354e-06/0.3657, allocations: 0 / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001415/0.3671, allocations: 0.7211 MB / 1.343 GB, free: 15.49 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3672, allocations: 55.41 kB / 1.343 GB, free: 15.42 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008287/0.3755, allocations: 6.501 MB / 1.35 GB, free: 8.898 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/0.3756, allocations: 25.7 kB / 1.35 GB, free: 8.867 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/0.3761, allocations: 420.4 kB / 1.35 GB, free: 8.453 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.3762, allocations: 67.42 kB / 1.35 GB, free: 8.387 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.3764, allocations: 61.64 kB / 1.35 GB, free: 8.32 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3766, allocations: 318 kB / 1.351 GB, free: 8.004 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007818/0.3773, allocations: 0.5349 MB / 1.351 GB, free: 7.469 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007881/0.3781, allocations: 0.5483 MB / 1.352 GB, free: 6.914 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.3793, allocations: 0.7679 MB / 1.352 GB, free: 6.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3793, allocations: 7.938 kB / 1.352 GB, free: 6.133 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002026/0.3813, allocations: 1.231 MB / 1.354 GB, free: 4.895 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.3813, allocations: 4 kB / 1.354 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.3814, allocations: 4 kB / 1.354 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.3814, allocations: 4 kB / 1.354 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.3818, allocations: 67.89 kB / 1.354 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.3818, allocations: 4.031 kB / 1.354 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.3824, allocations: 39.83 kB / 1.354 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.3825, allocations: 11.98 kB / 1.354 GB, free: 4.762 MB / 1.045 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.0004711/0.383, allocations: 286.1 kB / 1.354 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.3833, allocations: 95.33 kB / 1.354 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.3845, allocations: 0.5605 MB / 1.355 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.3845, allocations: 4 kB / 1.355 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3845, allocations: 0 / 1.355 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3845, allocations: 0 / 1.355 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/0.3886, allocations: 2.673 MB / 1.357 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.3886, allocations: 4 kB / 1.357 GB, free: 1.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.3889, allocations: 56.48 kB / 1.357 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.3889, allocations: 8 kB / 1.357 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.3889, allocations: 8 kB / 1.357 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.3889, allocations: 8 kB / 1.357 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.3889, allocations: 11.92 kB / 1.357 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.39, allocations: 0.6779 MB / 1.358 GB, free: 180 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/0.3905, allocations: 187.2 kB / 1.358 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.3907, allocations: 12 kB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.3911, allocations: 27.98 kB / 1.358 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.3912, allocations: 35.84 kB / 1.358 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.3912, allocations: 8 kB / 1.358 GB, free: 15.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005502/0.3967, allocations: 5.153 MB / 1.363 GB, free: 10.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3967, allocations: 0 / 1.363 GB, free: 10.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008326/0.3975, allocations: 191.9 kB / 1.364 GB, free: 10.56 MB / 1.061 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.001922/0.3995, allocations: 1.294 MB / 1.365 GB, free: 9.176 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.4007, allocations: 0.7666 MB / 1.366 GB, free: 8.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.4007, allocations: 4 kB / 1.366 GB, free: 8.406 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.4011, allocations: 216.9 kB / 1.366 GB, free: 8.195 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4021, allocations: 196.1 kB / 1.366 GB, free: 8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/0.4299, allocations: 22.94 MB / 1.388 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.4304, allocations: 407.5 kB / 1.389 GB, free: 412 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004615/0.4309, allocations: 149.4 kB / 1.389 GB, free: 260 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005038/0.4314, allocations: 295.3 kB / 1.389 GB, free: 15.96 MB / 1.092 GB Notification: Performance of SimCode: time 9.92e-07/0.4314, allocations: 0 / 1.389 GB, free: 15.96 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06569/0.4971, allocations: 25.68 MB / 1.414 GB, free: 6.617 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.43, allocations: 2.672 kB / 1.414 GB, free: 6.617 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.48069859109819]