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.001371/0.001371, allocations: 103 kB / 16.45 MB, free: 6.449 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.001565/0.001565, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.813/1.813, allocations: 230.6 MB / 252.8 MB, free: 9.16 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.758/3.758, allocations: 0.505 GB / 0.8066 GB, free: 23.14 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.00235/0.00235, allocations: 71 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4022, allocations: 180.2 MB / 1.348 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003577/0.4058, allocations: 2.082 MB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.4083, allocations: 1.415 MB / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.4084, allocations: 4 kB / 1.351 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.4091, allocations: 259.3 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.4102, allocations: 426.6 kB / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.254e-06/0.4102, allocations: 0 / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004491/0.4107, allocations: 402.5 kB / 1.352 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.491e-05/0.4108, allocations: 8.406 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.411, allocations: 143.4 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.4112, allocations: 223.1 kB / 1.353 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.4113, allocations: 20 kB / 1.353 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005271/0.4118, allocations: 279.6 kB / 1.353 GB, free: 4.773 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.4122, allocations: 390.9 kB / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.4126, allocations: 417.7 kB / 1.354 GB, free: 3.98 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.4139, allocations: 1.155 MB / 1.355 GB, free: 2.82 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.4139, allocations: 4 kB / 1.355 GB, free: 2.816 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4139, allocations: 0 / 1.355 GB, free: 2.816 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.4139, allocations: 0 / 1.355 GB, free: 2.816 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.001834/0.4157, allocations: 1.251 MB / 1.356 GB, free: 1.512 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.4158, allocations: 11.98 kB / 1.356 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.972e-05/0.4159, allocations: 54.73 kB / 1.356 GB, free: 1.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006677/0.4165, allocations: 152.2 kB / 1.356 GB, free: 1.289 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004536/0.4211, allocations: 4.273 MB / 1.36 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.4211, allocations: 12.38 kB / 1.36 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.4211, allocations: 12.38 kB / 1.36 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009101/0.422, allocations: 0.638 MB / 1.361 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.422, allocations: 0 / 1.361 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.4221, allocations: 8 kB / 1.361 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.4221, allocations: 4 kB / 1.361 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.4235, allocations: 1.101 MB / 1.362 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004081/0.4276, allocations: 3.162 MB / 1.365 GB, free: 7.965 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.4284, allocations: 342.6 kB / 1.366 GB, free: 7.621 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.4288, allocations: 224.8 kB / 1.366 GB, free: 7.398 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.4289, allocations: 23.92 kB / 1.366 GB, free: 7.375 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.4289, allocations: 34.56 kB / 1.366 GB, free: 7.332 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.754e-06/0.4289, allocations: 0 / 1.366 GB, free: 7.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001412/0.4303, allocations: 0.7214 MB / 1.366 GB, free: 6.605 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.4304, allocations: 55.41 kB / 1.367 GB, free: 6.539 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007901/0.4383, allocations: 6.501 MB / 1.373 GB, free: 16 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.904e-05/0.4383, allocations: 25.7 kB / 1.373 GB, free: 15.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.4387, allocations: 416.5 kB / 1.373 GB, free: 15.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-05/0.4388, allocations: 71.41 kB / 1.373 GB, free: 15.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.4389, allocations: 57.64 kB / 1.373 GB, free: 15.44 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4391, allocations: 322 kB / 1.374 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/0.4398, allocations: 0.5271 MB / 1.374 GB, free: 14.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/0.4405, allocations: 0.5561 MB / 1.375 GB, free: 14.03 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.4415, allocations: 0.7713 MB / 1.376 GB, free: 13.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4415, allocations: 4 kB / 1.376 GB, free: 13.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001702/0.4432, allocations: 1.223 MB / 1.377 GB, free: 12.02 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4433, allocations: 8 kB / 1.377 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4433, allocations: 4 kB / 1.377 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4433, allocations: 4.031 kB / 1.377 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.4436, allocations: 67.83 kB / 1.377 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.4436, allocations: 7.984 kB / 1.377 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.4441, allocations: 43.77 kB / 1.377 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.4441, allocations: 8 kB / 1.377 GB, free: 11.88 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.0003518/0.4445, allocations: 281.6 kB / 1.377 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.4446, allocations: 99.31 kB / 1.377 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.4457, allocations: 0.558 MB / 1.378 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4457, allocations: 4 kB / 1.378 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4457, allocations: 7.922 kB / 1.378 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4457, allocations: 0 / 1.378 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/0.4494, allocations: 2.822 MB / 1.381 GB, free: 7.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4494, allocations: 4 kB / 1.381 GB, free: 7.977 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.4497, allocations: 47.91 kB / 1.381 GB, free: 7.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.4497, allocations: 4 kB / 1.381 GB, free: 7.926 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.4497, allocations: 15.98 kB / 1.381 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4497, allocations: 4 kB / 1.381 GB, free: 7.906 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.4497, allocations: 11.94 kB / 1.381 GB, free: 7.895 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.4509, allocations: 0.68 MB / 1.381 GB, free: 7.141 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.4512, allocations: 256.4 kB / 1.382 GB, free: 6.871 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.4513, allocations: 8 kB / 1.382 GB, free: 6.863 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.4518, allocations: 31.97 kB / 1.382 GB, free: 6.832 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.4518, allocations: 31.86 kB / 1.382 GB, free: 6.801 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4518, allocations: 8 kB / 1.382 GB, free: 6.793 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005455/0.4573, allocations: 5.16 MB / 1.387 GB, free: 1.621 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4573, allocations: 0 / 1.387 GB, free: 1.621 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007447/0.458, allocations: 187.9 kB / 1.387 GB, free: 1.438 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.001932/0.46, allocations: 1.292 MB / 1.388 GB, free: 60 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.4612, allocations: 0.7728 MB / 1.389 GB, free: 15.29 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.4612, allocations: 0 / 1.389 GB, free: 15.29 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004018/0.4616, allocations: 220.6 kB / 1.389 GB, free: 15.07 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.4627, allocations: 192.4 kB / 1.389 GB, free: 14.88 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/0.4909, allocations: 22.95 MB / 1.412 GB, free: 7.703 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008722/0.4917, allocations: 1.003 MB / 1.413 GB, free: 6.672 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004434/0.4922, allocations: 145.4 kB / 1.413 GB, free: 6.527 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/0.4927, allocations: 298.1 kB / 1.413 GB, free: 6.238 MB / 1.107 GB Notification: Performance of SimCode: time 1.032e-06/0.4927, allocations: 0 / 1.413 GB, free: 6.238 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06207/0.5548, allocations: 23.84 MB / 1.436 GB, free: 14.66 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.758/10.31, allocations: 11.78 kB / 1.436 GB, free: 14.66 MB / 1.139 GB " [Timeout remaining time 290] (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: 18.145855424925685]