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.001799/0.001799, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002247/0.002247, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.965 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.44/3.44, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.003087/0.003087, allocations: 67.14 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4144, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003267/0.4176, allocations: 2.088 MB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002436/0.4201, allocations: 1.419 MB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.4202, allocations: 4 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007247/0.4209, allocations: 287.2 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.4221, allocations: 452.5 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.304e-06/0.4221, allocations: 0 / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004958/0.4226, allocations: 390.5 kB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.4227, allocations: 8.594 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.4228, allocations: 155.3 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.4231, allocations: 211.1 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.4231, allocations: 20 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005509/0.4237, allocations: 303.5 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.424, allocations: 390.9 kB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.4244, allocations: 413.7 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.4255, allocations: 1.171 MB / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4255, allocations: 0 / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4255, allocations: 0 / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.4256, allocations: 0 / 1.36 GB, free: 1.172 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.001806/0.4274, allocations: 1.175 MB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4274, allocations: 12.03 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.4275, allocations: 46.73 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006799/0.4281, allocations: 156.2 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/0.4324, allocations: 4.213 MB / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.4324, allocations: 8.375 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.4324, allocations: 16.38 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.4333, allocations: 0.6382 MB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4333, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.4333, allocations: 7.938 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4333, allocations: 8 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.4347, allocations: 1.105 MB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.4386, allocations: 3.13 MB / 1.37 GB, free: 6.523 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.4393, allocations: 334.7 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.4397, allocations: 224.8 kB / 1.371 GB, free: 5.965 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/0.4398, allocations: 27.97 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.4398, allocations: 38.78 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.4398, allocations: 0 / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001296/0.4411, allocations: 0.7215 MB / 1.372 GB, free: 5.164 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4411, allocations: 63.39 kB / 1.372 GB, free: 5.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007769/0.4489, allocations: 6.489 MB / 1.378 GB, free: 14.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.984e-05/0.449, allocations: 29.7 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.4494, allocations: 416.5 kB / 1.378 GB, free: 14.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.4495, allocations: 63.44 kB / 1.378 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.4496, allocations: 61.64 kB / 1.378 GB, free: 14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4498, allocations: 318 kB / 1.379 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/0.4505, allocations: 0.531 MB / 1.379 GB, free: 13.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/0.4511, allocations: 0.5483 MB / 1.38 GB, free: 12.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.4522, allocations: 0.7791 MB / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4522, allocations: 0 / 1.381 GB, free: 11.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001797/0.454, allocations: 1.227 MB / 1.382 GB, free: 10.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.454, allocations: 11.94 kB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.454, allocations: 3.984 kB / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.454, allocations: 0 / 1.382 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.4544, allocations: 71.98 kB / 1.382 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4544, allocations: 3.938 kB / 1.382 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.4548, allocations: 47.75 kB / 1.382 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.4548, allocations: 8 kB / 1.382 GB, free: 10.44 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.4552, allocations: 285.6 kB / 1.382 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.4553, allocations: 95.33 kB / 1.382 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009725/0.4563, allocations: 0.57 MB / 1.383 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4563, allocations: 0 / 1.383 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4563, allocations: 0 / 1.383 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4563, allocations: 0 / 1.383 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.4599, allocations: 2.786 MB / 1.386 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.4599, allocations: 4 kB / 1.386 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.4602, allocations: 51.89 kB / 1.386 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.4602, allocations: 8 kB / 1.386 GB, free: 6.52 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.4602, allocations: 8 kB / 1.386 GB, free: 6.512 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.4602, allocations: 8 kB / 1.386 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.4602, allocations: 7.938 kB / 1.386 GB, free: 6.496 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.4613, allocations: 0.6798 MB / 1.386 GB, free: 5.742 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.4616, allocations: 191.2 kB / 1.386 GB, free: 5.555 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.4618, allocations: 11.98 kB / 1.387 GB, free: 5.543 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.4622, allocations: 23.98 kB / 1.387 GB, free: 5.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.4622, allocations: 27.86 kB / 1.387 GB, free: 5.492 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.4622, allocations: 19.98 kB / 1.387 GB, free: 5.473 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005427/0.4677, allocations: 5.149 MB / 1.392 GB, free: 320 kB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4677, allocations: 0 / 1.392 GB, free: 320 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008001/0.4685, allocations: 187.9 kB / 1.392 GB, free: 132 kB / 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.001673/0.4701, allocations: 1.3 MB / 1.393 GB, free: 14.74 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.4713, allocations: 0.7613 MB / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4713, allocations: 0 / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.4716, allocations: 224.6 kB / 1.394 GB, free: 13.76 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009701/0.4726, allocations: 200.3 kB / 1.394 GB, free: 13.56 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/0.4995, allocations: 22.94 MB / 1.417 GB, free: 6.375 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.5002, allocations: 0.9995 MB / 1.418 GB, free: 5.348 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004527/0.5007, allocations: 145.4 kB / 1.418 GB, free: 5.203 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/0.5011, allocations: 299.3 kB / 1.418 GB, free: 4.91 MB / 1.107 GB Notification: Performance of SimCode: time 1.282e-06/0.5011, allocations: 0 / 1.418 GB, free: 4.91 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06429/0.5654, allocations: 24.06 MB / 1.441 GB, free: 13.11 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.78, allocations: 10.84 kB / 1.442 GB, free: 13.11 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: 20.279968465000366]