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.001303/0.001303, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001478/0.001478, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.27/3.27, allocations: 0.505 GB / 0.8108 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: translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [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.002073/0.002073, allocations: 67.03 kB / 1.178 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3613, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003476/0.3648, allocations: 2.097 MB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.3671, allocations: 1.415 MB / 1.358 GB, free: 4.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.892e-05/0.3672, allocations: 0 / 1.358 GB, free: 4.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.3679, allocations: 295 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.369, allocations: 448.6 kB / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.456e-06/0.369, allocations: 0 / 1.358 GB, free: 3.684 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.3694, allocations: 394.5 kB / 1.359 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.3694, allocations: 12.58 kB / 1.359 GB, free: 3.285 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.3696, allocations: 151.4 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.3699, allocations: 215.1 kB / 1.359 GB, free: 2.926 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.3699, allocations: 20 kB / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.3704, allocations: 295.6 kB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.3708, allocations: 375 kB / 1.36 GB, free: 2.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.3711, allocations: 310.2 kB / 1.36 GB, free: 1.945 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009466/0.372, allocations: 0.8482 MB / 1.361 GB, free: 1.094 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.372, allocations: 3.938 kB / 1.361 GB, free: 1.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.372, allocations: 0 / 1.361 GB, free: 1.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.372, allocations: 0 / 1.361 GB, free: 1.09 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.00126/0.3733, allocations: 0.8879 MB / 1.362 GB, free: 172 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3733, allocations: 16.02 kB / 1.362 GB, free: 156 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005919/0.3739, allocations: 128.4 kB / 1.362 GB, free: 28 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.375, allocations: 0.8543 MB / 1.363 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.375, allocations: 8.375 kB / 1.363 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.375, allocations: 24.3 kB / 1.363 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008291/0.3759, allocations: 0.6382 MB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3759, allocations: 0 / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.3759, allocations: 4 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.3759, allocations: 4 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.3772, allocations: 1.105 MB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.3798, allocations: 2.026 MB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.3806, allocations: 334.7 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.3809, allocations: 216.8 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.381, allocations: 23.98 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.381, allocations: 42.5 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 4.779e-06/0.381, allocations: 3.984 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001225/0.3823, allocations: 0.7021 MB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3823, allocations: 51.41 kB / 1.368 GB, free: 9.887 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.3847, allocations: 2.074 MB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.3848, allocations: 33.64 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.3851, allocations: 336.2 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.3851, allocations: 67.42 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.3853, allocations: 65.58 kB / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3854, allocations: 318 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.386, allocations: 0.5271 MB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.3867, allocations: 0.5561 MB / 1.372 GB, free: 5.887 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.3877, allocations: 0.7636 MB / 1.372 GB, free: 5.117 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3877, allocations: 0 / 1.372 GB, free: 5.117 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001512/0.3892, allocations: 1.219 MB / 1.373 GB, free: 3.891 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3892, allocations: 4 kB / 1.373 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3892, allocations: 0 / 1.373 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3893, allocations: 0 / 1.373 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.3896, allocations: 67.89 kB / 1.374 GB, free: 3.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3896, allocations: 0 / 1.374 GB, free: 3.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.3899, allocations: 35.77 kB / 1.374 GB, free: 3.785 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.39, allocations: 19.98 kB / 1.374 GB, free: 3.766 MB / 1.061 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.0003093/0.3903, allocations: 281.5 kB / 1.374 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3904, allocations: 75.47 kB / 1.374 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009269/0.3913, allocations: 0.535 MB / 1.374 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3913, allocations: 4 kB / 1.374 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3913, allocations: 7.922 kB / 1.374 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3913, allocations: 0 / 1.374 GB, free: 2.848 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.3945, allocations: 2.546 MB / 1.377 GB, free: 196 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.3945, allocations: 4 kB / 1.377 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.3947, allocations: 51.89 kB / 1.377 GB, free: 140 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.3948, allocations: 8.5 kB / 1.377 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.3948, allocations: 8 kB / 1.377 GB, free: 124 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.3948, allocations: 15.94 kB / 1.377 GB, free: 108 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.3948, allocations: 4 kB / 1.377 GB, free: 104 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009791/0.3958, allocations: 0.6659 MB / 1.378 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.396, allocations: 83.55 kB / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.609e-05/0.396, allocations: 8 kB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.3963, allocations: 27.97 kB / 1.378 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3964, allocations: 23.86 kB / 1.378 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.3964, allocations: 12 kB / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001676/0.3981, allocations: 1.592 MB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3981, allocations: 4 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005672/0.3987, allocations: 171.9 kB / 1.38 GB, free: 13.45 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.0003258/0.399, allocations: 164.9 kB / 1.38 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.4001, allocations: 0.7652 MB / 1.38 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4001, allocations: 0 / 1.38 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/0.4004, allocations: 223.6 kB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.4013, allocations: 194.3 kB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.4035, allocations: 1.421 MB / 1.382 GB, free: 10.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.4041, allocations: 0.925 MB / 1.383 GB, free: 9.648 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.4042, allocations: 47.42 kB / 1.383 GB, free: 9.602 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.4042, allocations: 0 / 1.383 GB, free: 9.602 MB / 1.076 GB Notification: Performance of Templates: time 0.01493/0.4192, allocations: 8.723 MB / 1.392 GB, free: 0.9453 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/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: 12.93268846499268]