Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001709/0.001709, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00215/0.00215, allocations: 210 kB / 22.99 MB, free: 4.957 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.737/1.737, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.501/3.501, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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: translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_12_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_12_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.002163/0.002163, allocations: 70.98 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4764, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004025/0.4804, allocations: 2.073 MB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.483, allocations: 1.313 MB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.4831, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007681/0.4839, allocations: 247 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.4851, allocations: 447.9 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.366e-06/0.4851, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.4855, allocations: 390.5 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.613e-05/0.4856, allocations: 20.58 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.4857, allocations: 143.4 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.486, allocations: 215.1 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.4861, allocations: 24 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005756/0.4866, allocations: 295.6 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003745/0.487, allocations: 367 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.4873, allocations: 250.5 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.4883, allocations: 0.8598 MB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4883, allocations: 0 / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4883, allocations: 0 / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.4883, allocations: 4 kB / 1.334 GB, free: 10.32 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.001479/0.4898, allocations: 0.8957 MB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4899, allocations: 8.031 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006852/0.4906, allocations: 128.4 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.4917, allocations: 0.8582 MB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.4917, allocations: 12.38 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.4918, allocations: 16.38 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009354/0.4927, allocations: 0.6382 MB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.4927, allocations: 0 / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.4928, allocations: 4 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4928, allocations: 4 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.4942, allocations: 1.105 MB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.497, allocations: 1.91 MB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000812/0.4978, allocations: 332.4 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.4982, allocations: 220.8 kB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-05/0.4983, allocations: 27.98 kB / 1.34 GB, free: 4.062 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.4983, allocations: 34.56 kB / 1.34 GB, free: 4.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.695e-06/0.4983, allocations: 0 / 1.34 GB, free: 4.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001326/0.4996, allocations: 0.7018 MB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.4997, allocations: 51.41 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.5023, allocations: 2.07 MB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.5023, allocations: 29.7 kB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.5026, allocations: 324.2 kB / 1.343 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.578e-05/0.5027, allocations: 75.41 kB / 1.343 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.5028, allocations: 57.69 kB / 1.343 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.503, allocations: 314 kB / 1.343 GB, free: 368 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/0.5037, allocations: 0.5311 MB / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.5044, allocations: 0.5483 MB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.5055, allocations: 0.7757 MB / 1.345 GB, free: 14.49 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5055, allocations: 0 / 1.345 GB, free: 14.49 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001692/0.5072, allocations: 1.204 MB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.5072, allocations: 11.94 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5072, allocations: 3.938 kB / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.5072, allocations: 3.938 kB / 1.346 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.5076, allocations: 63.95 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.5076, allocations: 7.984 kB / 1.346 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.508, allocations: 35.77 kB / 1.346 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.508, allocations: 11.94 kB / 1.346 GB, free: 13.14 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.0004285/0.5085, allocations: 278.2 kB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5086, allocations: 79.47 kB / 1.347 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.5096, allocations: 0.5309 MB / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5096, allocations: 0 / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5096, allocations: 4 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5096, allocations: 4 kB / 1.347 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.5131, allocations: 2.45 MB / 1.349 GB, free: 9.688 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.5131, allocations: 4 kB / 1.349 GB, free: 9.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.5134, allocations: 51.89 kB / 1.35 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.5134, allocations: 7.938 kB / 1.35 GB, free: 9.625 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.5134, allocations: 12 kB / 1.35 GB, free: 9.613 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.5134, allocations: 7.984 kB / 1.35 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.5134, allocations: 11.94 kB / 1.35 GB, free: 9.594 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.5145, allocations: 0.6538 MB / 1.35 GB, free: 8.867 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.5147, allocations: 87.48 kB / 1.35 GB, free: 8.781 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5148, allocations: 12 kB / 1.35 GB, free: 8.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.5151, allocations: 15.97 kB / 1.35 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.5152, allocations: 31.86 kB / 1.35 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.5152, allocations: 23.98 kB / 1.35 GB, free: 8.699 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002012/0.5172, allocations: 1.581 MB / 1.352 GB, free: 7.125 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5172, allocations: 0 / 1.352 GB, free: 7.125 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007465/0.518, allocations: 171.9 kB / 1.352 GB, free: 6.957 MB / 1.045 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.0004309/0.5184, allocations: 164.7 kB / 1.352 GB, free: 6.785 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.5197, allocations: 0.7729 MB / 1.353 GB, free: 6.012 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5197, allocations: 0 / 1.353 GB, free: 6.012 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.5201, allocations: 220.6 kB / 1.353 GB, free: 5.797 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.5211, allocations: 171.2 kB / 1.353 GB, free: 5.629 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.5238, allocations: 1.632 MB / 1.355 GB, free: 3.914 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.5243, allocations: 415 kB / 1.355 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002704/0.5246, allocations: 80.38 kB / 1.355 GB, free: 3.402 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.5247, allocations: 43.42 kB / 1.355 GB, free: 3.359 MB / 1.045 GB Notification: Performance of SimCode: time 7.31e-07/0.5247, allocations: 4 kB / 1.355 GB, free: 3.355 MB / 1.045 GB Notification: Performance of Templates: time 0.02201/0.5467, allocations: 11.85 MB / 1.367 GB, free: 7.695 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.600731121987337]