Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001316/0.001316, allocations: 114.3 kB / 18.94 MB, free: 2.805 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.001518/0.001518, allocations: 218.9 kB / 22.26 MB, free: 5.191 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.203 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.323/3.323, allocations: 0.49 GB / 0.7951 GB, free: 33.19 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.DryFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_12_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.002049/0.002049, allocations: 70.11 kB / 1.154 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3962, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003498/0.3997, allocations: 2.095 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.4023, allocations: 1.426 MB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.4024, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.4032, allocations: 291.3 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.4043, allocations: 443.9 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.178e-06/0.4043, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.4048, allocations: 386.5 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/0.4049, allocations: 16.59 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.405, allocations: 155.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.4053, allocations: 211.1 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.4054, allocations: 24 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005666/0.4059, allocations: 299.6 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.4063, allocations: 394.9 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.4067, allocations: 413.7 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.408, allocations: 1.163 MB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.408, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.974e-06/0.408, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.408, allocations: 0 / 1.333 GB, free: 10.65 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.00176/0.4098, allocations: 1.175 MB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4098, allocations: 8.031 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.073e-05/0.4099, allocations: 50.73 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006723/0.4106, allocations: 152.2 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/0.4152, allocations: 4.213 MB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.4152, allocations: 20.31 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.4153, allocations: 16.38 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009023/0.4162, allocations: 0.6341 MB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4162, allocations: 0 / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.4162, allocations: 8 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.4162, allocations: 4 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.4176, allocations: 1.109 MB / 1.34 GB, free: 3.176 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/0.4215, allocations: 3.126 MB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.4223, allocations: 334.7 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.4227, allocations: 228.7 kB / 1.344 GB, free: 15.44 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.4227, allocations: 23.92 kB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.4228, allocations: 34.56 kB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/0.4228, allocations: 7.938 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001304/0.4241, allocations: 0.7133 MB / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.4241, allocations: 55.41 kB / 1.345 GB, free: 14.58 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007764/0.4319, allocations: 6.497 MB / 1.351 GB, free: 8.059 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.4319, allocations: 33.7 kB / 1.351 GB, free: 8.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.4323, allocations: 416.4 kB / 1.351 GB, free: 7.613 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.263e-05/0.4324, allocations: 67.42 kB / 1.351 GB, free: 7.547 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.4325, allocations: 53.7 kB / 1.351 GB, free: 7.488 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4326, allocations: 318 kB / 1.352 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000637/0.4333, allocations: 0.531 MB / 1.352 GB, free: 6.641 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007126/0.434, allocations: 0.56 MB / 1.353 GB, free: 6.074 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.435, allocations: 0.7757 MB / 1.354 GB, free: 5.293 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.435, allocations: 0 / 1.354 GB, free: 5.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001665/0.4367, allocations: 1.231 MB / 1.355 GB, free: 4.055 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.4367, allocations: 4 kB / 1.355 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4367, allocations: 4 kB / 1.355 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4367, allocations: 0 / 1.355 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.4371, allocations: 63.95 kB / 1.355 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.4371, allocations: 3.938 kB / 1.355 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.4376, allocations: 47.8 kB / 1.355 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.4377, allocations: 11.98 kB / 1.355 GB, free: 3.922 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.0004334/0.4381, allocations: 282.2 kB / 1.355 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.4383, allocations: 99.31 kB / 1.355 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.4394, allocations: 0.5619 MB / 1.356 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4394, allocations: 8 kB / 1.356 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4394, allocations: 0 / 1.356 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.4394, allocations: 3.984 kB / 1.356 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/0.4432, allocations: 2.786 MB / 1.359 GB, free: 60 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4432, allocations: 4 kB / 1.359 GB, free: 56 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.4435, allocations: 48.5 kB / 1.359 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.4435, allocations: 8 kB / 1.359 GB, free: 0 / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.4435, allocations: 15.98 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.4435, allocations: 4 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.4435, allocations: 11.94 kB / 1.359 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.4447, allocations: 0.6776 MB / 1.359 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.4451, allocations: 191.1 kB / 1.36 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.4452, allocations: 12 kB / 1.36 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.4456, allocations: 19.98 kB / 1.36 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.4457, allocations: 31.84 kB / 1.36 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.4457, allocations: 12 kB / 1.36 GB, free: 14.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005354/0.4511, allocations: 5.16 MB / 1.365 GB, free: 9.785 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4511, allocations: 0 / 1.365 GB, free: 9.785 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007374/0.4518, allocations: 179.9 kB / 1.365 GB, free: 9.609 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.001659/0.4535, allocations: 1.298 MB / 1.366 GB, free: 8.223 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.4546, allocations: 0.7612 MB / 1.367 GB, free: 7.461 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.4546, allocations: 4 kB / 1.367 GB, free: 7.457 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.455, allocations: 227.7 kB / 1.367 GB, free: 7.234 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.456, allocations: 194.9 kB / 1.367 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0265/0.4825, allocations: 22.94 MB / 1.39 GB, free: 15.87 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007603/0.4832, allocations: 1.003 MB / 1.391 GB, free: 14.84 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004882/0.4837, allocations: 141.4 kB / 1.391 GB, free: 14.7 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.4842, allocations: 295.3 kB / 1.391 GB, free: 14.41 MB / 1.092 GB Notification: Performance of SimCode: time 1.392e-06/0.4842, allocations: 0 / 1.391 GB, free: 14.41 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06334/0.5475, allocations: 24.06 MB / 1.415 GB, free: 6.613 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.79, allocations: 10.84 kB / 1.415 GB, free: 6.605 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_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_DryFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.86481339099919]