Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.001429/0.001429, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001554/0.001554, allocations: 217.3 kB / 22.99 MB, free: 4.945 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.294/3.294, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 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: translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [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.002094/0.002094, allocations: 66.52 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3656, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003999/0.3696, allocations: 2.081 MB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002737/0.3723, allocations: 1.305 MB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.3725, allocations: 0 / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.3733, allocations: 243.1 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.3746, allocations: 442.5 kB / 1.369 GB, free: 9.539 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 1.837e-05/0.3746, allocations: 4 kB / 1.369 GB, free: 9.535 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.3751, allocations: 386.5 kB / 1.369 GB, free: 9.156 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.573e-05/0.3752, allocations: 16.58 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.3754, allocations: 151.3 kB / 1.369 GB, free: 8.988 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.3757, allocations: 199.1 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.3757, allocations: 24 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005612/0.3763, allocations: 279.6 kB / 1.37 GB, free: 8.496 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003356/0.3766, allocations: 367 kB / 1.37 GB, free: 8.137 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.3768, allocations: 246.7 kB / 1.37 GB, free: 7.895 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009303/0.3778, allocations: 0.8598 MB / 1.371 GB, free: 7.031 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.3778, allocations: 4 kB / 1.371 GB, free: 7.027 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.497e-06/0.3778, allocations: 4 kB / 1.371 GB, free: 7.023 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.3778, allocations: 3.938 kB / 1.371 GB, free: 7.02 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.001254/0.3791, allocations: 0.884 MB / 1.372 GB, free: 6.102 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3791, allocations: 8.031 kB / 1.372 GB, free: 6.094 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005958/0.3797, allocations: 128.4 kB / 1.372 GB, free: 5.969 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.3808, allocations: 0.8698 MB / 1.373 GB, free: 5.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3808, allocations: 12.38 kB / 1.373 GB, free: 5.059 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.3808, allocations: 16.38 kB / 1.373 GB, free: 5.043 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/0.3817, allocations: 0.6343 MB / 1.374 GB, free: 4.402 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3817, allocations: 0 / 1.374 GB, free: 4.402 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.3817, allocations: 4 kB / 1.374 GB, free: 4.398 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3817, allocations: 4 kB / 1.374 GB, free: 4.395 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.3831, allocations: 1.109 MB / 1.375 GB, free: 3.285 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.3856, allocations: 1.902 MB / 1.376 GB, free: 1.348 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.3864, allocations: 336.2 kB / 1.377 GB, free: 1.012 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.3868, allocations: 224.8 kB / 1.377 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.921e-05/0.3868, allocations: 19.98 kB / 1.377 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.3868, allocations: 38.5 kB / 1.377 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.3868, allocations: 0 / 1.377 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001273/0.3881, allocations: 0.6983 MB / 1.378 GB, free: 20 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.3882, allocations: 63.39 kB / 1.378 GB, free: 15.95 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.3906, allocations: 2.066 MB / 1.38 GB, free: 13.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.3906, allocations: 25.7 kB / 1.38 GB, free: 13.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.3909, allocations: 328.2 kB / 1.38 GB, free: 13.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.391, allocations: 63.44 kB / 1.38 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3911, allocations: 65.58 kB / 1.38 GB, free: 13.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3912, allocations: 318 kB / 1.381 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006642/0.3919, allocations: 0.5232 MB / 1.381 GB, free: 12.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.3926, allocations: 0.5644 MB / 1.382 GB, free: 11.97 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.3936, allocations: 0.763 MB / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3936, allocations: 0 / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001574/0.3952, allocations: 1.208 MB / 1.384 GB, free: 9.988 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3952, allocations: 11.94 kB / 1.384 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3952, allocations: 0 / 1.384 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3952, allocations: 0 / 1.384 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.3956, allocations: 67.94 kB / 1.384 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3956, allocations: 7.938 kB / 1.384 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.3959, allocations: 35.77 kB / 1.384 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.396, allocations: 12 kB / 1.384 GB, free: 9.855 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.0003245/0.3963, allocations: 278.8 kB / 1.384 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3964, allocations: 71.52 kB / 1.384 GB, free: 9.504 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009551/0.3974, allocations: 0.5348 MB / 1.385 GB, free: 8.957 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3974, allocations: 4 kB / 1.385 GB, free: 8.953 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3974, allocations: 4 kB / 1.385 GB, free: 8.949 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3974, allocations: 0 / 1.385 GB, free: 8.949 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.4006, allocations: 2.453 MB / 1.387 GB, free: 6.398 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.4006, allocations: 4 kB / 1.387 GB, free: 6.395 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.4008, allocations: 51.91 kB / 1.387 GB, free: 6.344 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.4008, allocations: 7.938 kB / 1.387 GB, free: 6.336 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.4009, allocations: 8 kB / 1.387 GB, free: 6.328 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/0.4009, allocations: 12.36 kB / 1.387 GB, free: 6.316 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.4009, allocations: 11.94 kB / 1.387 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009925/0.4019, allocations: 0.6586 MB / 1.388 GB, free: 5.574 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.4021, allocations: 87.48 kB / 1.388 GB, free: 5.488 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.82e-05/0.4022, allocations: 8 kB / 1.388 GB, free: 5.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.4025, allocations: 23.97 kB / 1.388 GB, free: 5.457 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.4025, allocations: 27.86 kB / 1.388 GB, free: 5.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.4026, allocations: 19.98 kB / 1.388 GB, free: 5.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001753/0.4043, allocations: 1.581 MB / 1.389 GB, free: 3.836 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4043, allocations: 3.938 kB / 1.389 GB, free: 3.832 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005938/0.4049, allocations: 175.8 kB / 1.39 GB, free: 3.66 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.0003611/0.4053, allocations: 167 kB / 1.39 GB, free: 3.484 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.4064, allocations: 0.7692 MB / 1.39 GB, free: 2.715 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4064, allocations: 0 / 1.39 GB, free: 2.715 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.4068, allocations: 224.8 kB / 1.391 GB, free: 2.496 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008289/0.4077, allocations: 173.2 kB / 1.391 GB, free: 2.328 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.41, allocations: 1.425 MB / 1.392 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.4104, allocations: 336.9 kB / 1.393 GB, free: 468 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.4106, allocations: 43.42 kB / 1.393 GB, free: 424 kB / 1.076 GB Notification: Performance of SimCode: time 1.362e-06/0.4106, allocations: 0 / 1.393 GB, free: 424 kB / 1.076 GB Notification: Performance of Templates: time 0.01516/0.4258, allocations: 8.904 MB / 1.401 GB, free: 7.57 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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: 12.544396913144737]