Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.00143/0.00143, 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.001496/0.001496, allocations: 212.8 kB / 22.24 MB, free: 4.855 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.973 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.312/3.312, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.003029/0.003029, allocations: 71.89 kB / 1.186 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3995, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003629/0.4032, allocations: 1.946 MB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.4057, allocations: 1.313 MB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.4058, allocations: 0 / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007023/0.4065, allocations: 235.4 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.4076, allocations: 450.5 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.234e-06/0.4076, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.408, allocations: 394.5 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.445e-05/0.4081, allocations: 12.59 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.4083, allocations: 143.4 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.4085, allocations: 199.1 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.4086, allocations: 24 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000533/0.4091, allocations: 283.6 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.4095, allocations: 386.8 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003343/0.4098, allocations: 346.2 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.4111, allocations: 1.167 MB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4111, allocations: 0 / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4111, allocations: 0 / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.4111, allocations: 0 / 1.37 GB, free: 7.188 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.001825/0.4129, allocations: 1.179 MB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.413, allocations: 12.03 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.413, allocations: 50.67 kB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006393/0.4137, allocations: 152.2 kB / 1.371 GB, free: 5.754 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/0.4186, allocations: 4.225 MB / 1.376 GB, free: 1.488 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.4187, allocations: 20.38 kB / 1.376 GB, free: 1.469 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.4187, allocations: 12.38 kB / 1.376 GB, free: 1.457 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009011/0.4196, allocations: 0.6341 MB / 1.376 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4196, allocations: 4 kB / 1.376 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.4196, allocations: 4 kB / 1.376 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4196, allocations: 4 kB / 1.376 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.421, allocations: 1.101 MB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.4249, allocations: 3.002 MB / 1.38 GB, free: 12.65 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.4257, allocations: 342.5 kB / 1.381 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.426, allocations: 217.1 kB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.462e-05/0.4261, allocations: 35.81 kB / 1.381 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4261, allocations: 38.56 kB / 1.381 GB, free: 12.01 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/0.4261, allocations: 0 / 1.381 GB, free: 12.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001347/0.4275, allocations: 0.7245 MB / 1.382 GB, free: 11.28 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.4275, allocations: 59.34 kB / 1.382 GB, free: 11.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007929/0.4355, allocations: 6.493 MB / 1.388 GB, free: 4.695 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.4355, allocations: 29.7 kB / 1.388 GB, free: 4.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.436, allocations: 428.4 kB / 1.388 GB, free: 4.238 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.436, allocations: 63.44 kB / 1.388 GB, free: 4.176 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.4362, allocations: 57.69 kB / 1.388 GB, free: 4.113 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.4364, allocations: 314 kB / 1.389 GB, free: 3.801 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/0.4371, allocations: 0.5349 MB / 1.389 GB, free: 3.266 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.4379, allocations: 0.5566 MB / 1.39 GB, free: 2.703 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.4389, allocations: 0.7592 MB / 1.391 GB, free: 1.938 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4389, allocations: 0 / 1.391 GB, free: 1.938 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002009/0.441, allocations: 1.243 MB / 1.392 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.441, allocations: 4 kB / 1.392 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.441, allocations: 3.984 kB / 1.392 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.441, allocations: 4 kB / 1.392 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.4413, allocations: 63.89 kB / 1.392 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4414, allocations: 0 / 1.392 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.4418, allocations: 43.86 kB / 1.392 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.4418, allocations: 15.94 kB / 1.392 GB, free: 0.5547 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.0003837/0.4422, allocations: 281.6 kB / 1.392 GB, free: 276 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.4424, allocations: 95.33 kB / 1.392 GB, free: 180 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.4434, allocations: 0.5624 MB / 1.393 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4434, allocations: 0 / 1.393 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4434, allocations: 4 kB / 1.393 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4434, allocations: 4 kB / 1.393 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.4471, allocations: 2.669 MB / 1.395 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.4471, allocations: 4 kB / 1.395 GB, free: 12.82 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.4474, allocations: 52.48 kB / 1.396 GB, free: 12.77 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.4474, allocations: 8 kB / 1.396 GB, free: 12.76 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.4474, allocations: 12 kB / 1.396 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.4474, allocations: 7.938 kB / 1.396 GB, free: 12.74 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4474, allocations: 4 kB / 1.396 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.4485, allocations: 0.6875 MB / 1.396 GB, free: 11.97 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.4489, allocations: 191.2 kB / 1.396 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.449, allocations: 15.98 kB / 1.396 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.4494, allocations: 19.98 kB / 1.396 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.4494, allocations: 31.84 kB / 1.396 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.4495, allocations: 16 kB / 1.396 GB, free: 11.7 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.005472/0.4549, allocations: 5.153 MB / 1.402 GB, free: 6.539 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4549, allocations: 0 / 1.402 GB, free: 6.539 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006677/0.4556, allocations: 191.9 kB / 1.402 GB, free: 6.352 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.001657/0.4573, allocations: 1.285 MB / 1.403 GB, free: 4.98 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.4585, allocations: 0.7693 MB / 1.404 GB, free: 4.211 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4585, allocations: 0 / 1.404 GB, free: 4.211 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.4589, allocations: 220.9 kB / 1.404 GB, free: 3.996 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008903/0.4598, allocations: 198.4 kB / 1.404 GB, free: 3.801 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02754/0.4873, allocations: 22.94 MB / 1.427 GB, free: 12.63 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.4879, allocations: 407.5 kB / 1.427 GB, free: 12.2 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000412/0.4883, allocations: 153.4 kB / 1.427 GB, free: 12.05 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/0.4887, allocations: 295.3 kB / 1.427 GB, free: 11.76 MB / 1.123 GB Notification: Performance of SimCode: time 1.282e-06/0.4887, allocations: 0 / 1.427 GB, free: 11.76 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06166/0.5504, allocations: 25.67 MB / 1.452 GB, free: 2.422 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.41, allocations: 7.938 kB / 1.452 GB, free: 2.414 MB / 1.139 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_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_DryFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.425162666942924]