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.001377/0.001377, allocations: 104 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.001461/0.001461, allocations: 210.4 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.528/1.528, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.305/3.305, allocations: 0.49 GB / 0.7916 GB, free: 33.43 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.002035/0.002035, allocations: 71.98 kB / 1.149 GB, free: 26.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 176.1 MB / 1.321 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00347/0.3649, allocations: 2.081 MB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.3674, allocations: 1.41 MB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.908e-05/0.3675, allocations: 4 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.3682, allocations: 255.3 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009859/0.3691, allocations: 437.9 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.023e-06/0.3692, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.3696, allocations: 394.5 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.3696, allocations: 8.406 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.3698, allocations: 147.4 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.37, allocations: 219.1 kB / 1.326 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.3701, allocations: 20 kB / 1.326 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.3706, allocations: 279.6 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.3709, allocations: 390.9 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.3713, allocations: 417.7 kB / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.3726, allocations: 1.159 MB / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3726, allocations: 0 / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3726, allocations: 0 / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.3726, allocations: 0 / 1.328 GB, free: 12.26 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.001786/0.3744, allocations: 1.255 MB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3745, allocations: 11.98 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.838e-05/0.3745, allocations: 50.73 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006793/0.3752, allocations: 152.2 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004331/0.3795, allocations: 4.273 MB / 1.333 GB, free: 6.406 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3796, allocations: 8.375 kB / 1.333 GB, free: 6.398 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.3796, allocations: 16.31 kB / 1.333 GB, free: 6.383 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/0.3805, allocations: 0.6419 MB / 1.334 GB, free: 5.734 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3805, allocations: 0 / 1.334 GB, free: 5.734 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3806, allocations: 8 kB / 1.334 GB, free: 5.727 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3806, allocations: 8 kB / 1.334 GB, free: 5.719 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.382, allocations: 1.105 MB / 1.335 GB, free: 4.613 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.3859, allocations: 3.151 MB / 1.338 GB, free: 1.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.3867, allocations: 334.7 kB / 1.339 GB, free: 1.074 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.3871, allocations: 224.8 kB / 1.339 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.3871, allocations: 27.92 kB / 1.339 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.3872, allocations: 34.56 kB / 1.339 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.876e-06/0.3872, allocations: 0 / 1.339 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001456/0.3886, allocations: 0.7248 MB / 1.34 GB, free: 52 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.3887, allocations: 55.41 kB / 1.34 GB, free: 15.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007911/0.3966, allocations: 6.501 MB / 1.346 GB, free: 9.461 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/0.3967, allocations: 29.7 kB / 1.346 GB, free: 9.426 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.3971, allocations: 416.5 kB / 1.346 GB, free: 9.016 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.136e-05/0.3972, allocations: 67.42 kB / 1.346 GB, free: 8.949 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3973, allocations: 61.69 kB / 1.346 GB, free: 8.883 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3975, allocations: 318 kB / 1.347 GB, free: 8.566 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.3982, allocations: 0.531 MB / 1.347 GB, free: 8.035 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.3989, allocations: 0.5522 MB / 1.348 GB, free: 7.477 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.3999, allocations: 0.7756 MB / 1.349 GB, free: 6.695 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3999, allocations: 4 kB / 1.349 GB, free: 6.691 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00174/0.4017, allocations: 1.227 MB / 1.35 GB, free: 5.457 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4017, allocations: 8 kB / 1.35 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4017, allocations: 0 / 1.35 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4017, allocations: 0 / 1.35 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.4021, allocations: 67.92 kB / 1.35 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.4021, allocations: 4 kB / 1.35 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/0.4026, allocations: 43.77 kB / 1.35 GB, free: 5.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.4027, allocations: 11.98 kB / 1.35 GB, free: 5.324 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.0004591/0.4031, allocations: 283.4 kB / 1.35 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.4034, allocations: 95.33 kB / 1.35 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.4045, allocations: 0.5701 MB / 1.351 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.4045, allocations: 4 kB / 1.351 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4045, allocations: 0 / 1.351 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.4045, allocations: 0 / 1.351 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/0.4085, allocations: 2.818 MB / 1.354 GB, free: 1.434 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4085, allocations: 4 kB / 1.354 GB, free: 1.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.4087, allocations: 55.89 kB / 1.354 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.4087, allocations: 4 kB / 1.354 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.4088, allocations: 8 kB / 1.354 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.4088, allocations: 11.92 kB / 1.354 GB, free: 1.352 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.4088, allocations: 11.94 kB / 1.354 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.41, allocations: 0.6837 MB / 1.354 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.4103, allocations: 256.4 kB / 1.355 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.4105, allocations: 8 kB / 1.355 GB, free: 312 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.4109, allocations: 23.98 kB / 1.355 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.411, allocations: 31.86 kB / 1.355 GB, free: 256 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.411, allocations: 11.98 kB / 1.355 GB, free: 244 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.005427/0.4164, allocations: 5.157 MB / 1.36 GB, free: 11.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4164, allocations: 0 / 1.36 GB, free: 11.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008805/0.4173, allocations: 191.9 kB / 1.36 GB, free: 10.88 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.001965/0.4193, allocations: 1.293 MB / 1.361 GB, free: 9.504 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.4205, allocations: 0.7651 MB / 1.362 GB, free: 8.738 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4205, allocations: 0 / 1.362 GB, free: 8.738 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.4209, allocations: 224.6 kB / 1.362 GB, free: 8.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.422, allocations: 200.3 kB / 1.362 GB, free: 8.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02819/0.4502, allocations: 22.94 MB / 1.385 GB, free: 1.141 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007644/0.4509, allocations: 1.007 MB / 1.386 GB, free: 108 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004628/0.4514, allocations: 145.4 kB / 1.386 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/0.4519, allocations: 299.3 kB / 1.386 GB, free: 15.67 MB / 1.092 GB Notification: Performance of SimCode: time 1.032e-06/0.4519, allocations: 0 / 1.386 GB, free: 15.67 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06214/0.514, allocations: 23.81 MB / 1.409 GB, free: 8.129 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.803/10.32, allocations: 23.52 kB / 1.409 GB, free: 8.109 MB / 1.107 GB " [Timeout remaining time 290] (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: 17.229470091871917]