Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 249.9 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7634 GB, free: 15.32 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=506,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.88 kB / 1.108 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195/1.197, allocations: 168.7 MB / 1.272 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06411/1.261, allocations: 56.42 MB / 1.327 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03047/1.292, allocations: 18.03 MB / 1.345 GB, free: 2.676 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005355/1.297, allocations: 77.16 kB / 1.345 GB, free: 2.648 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00535/1.303, allocations: 0.9176 MB / 1.346 GB, free: 2.094 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01203/1.315, allocations: 2.621 MB / 1.349 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005423/1.32, allocations: 1.557 MB / 1.35 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02933/1.349, allocations: 21.31 MB / 1.371 GB, free: 5.379 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01859/1.368, allocations: 8.883 MB / 1.38 GB, free: 224 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02054/1.388, allocations: 7.256 MB / 1.387 GB, free: 12.26 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01634/1.405, allocations: 6.668 MB / 1.393 GB, free: 8.184 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.004601/1.409, allocations: 0.9418 MB / 1.394 GB, free: 8.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/1.42, allocations: 1.72 MB / 1.396 GB, free: 6.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006304/1.427, allocations: 2.437 MB / 1.398 GB, free: 4.125 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01524/1.442, allocations: 4.703 MB / 1.403 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02554/1.467, allocations: 13.22 MB / 1.416 GB, free: 2.137 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/1.467, allocations: 4 kB / 1.416 GB, free: 2.133 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.977e-06/1.467, allocations: 0 / 1.416 GB, free: 2.133 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.00058/1.468, allocations: 4 kB / 1.416 GB, free: 2.129 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02884/1.497, allocations: 8.698 MB / 1.424 GB, free: 9.328 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.497, allocations: 12.03 kB / 1.424 GB, free: 9.316 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005387/1.502, allocations: 0.8903 MB / 1.425 GB, free: 8.422 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/1.519, allocations: 6.739 MB / 1.432 GB, free: 1.629 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004977/1.519, allocations: 464.3 kB / 1.432 GB, free: 1.172 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002564/1.522, allocations: 0.6014 MB / 1.433 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/1.543, allocations: 9.044 MB / 1.442 GB, free: 7.203 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/1.543, allocations: 19.81 kB / 1.442 GB, free: 7.184 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008103/1.544, allocations: 264 kB / 1.442 GB, free: 6.926 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001946/1.544, allocations: 179.9 kB / 1.442 GB, free: 6.75 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/1.561, allocations: 7.461 MB / 1.449 GB, free: 15.28 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06693/1.628, allocations: 36.08 MB / 1.484 GB, free: 9.145 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00712/1.635, allocations: 3.995 MB / 1.488 GB, free: 5.141 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004978/1.64, allocations: 3.024 MB / 1.491 GB, free: 2.109 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/1.641, allocations: 0.9622 MB / 1.492 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004482/1.646, allocations: 2.398 MB / 1.495 GB, free: 14.53 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002876/1.648, allocations: 393.1 kB / 1.495 GB, free: 14.14 MB / 1.186 GB Notification: Performance of pre-optimization done (n=317): time 1.052e-05/1.648, allocations: 3.938 kB / 1.495 GB, free: 14.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=317): time 0.01435/1.663, allocations: 7.155 MB / 1.502 GB, free: 6.895 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/1.663, allocations: 81.91 kB / 1.502 GB, free: 6.801 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/1.675, allocations: 5.678 MB / 1.508 GB, free: 1.145 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0009117/1.676, allocations: 85.7 kB / 1.508 GB, free: 1.055 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.004369/1.681, allocations: 3.267 MB / 1.511 GB, free: 13.76 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00219/1.683, allocations: 1.166 MB / 1.512 GB, free: 12.59 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002947/1.686, allocations: 0.8663 MB / 1.513 GB, free: 11.71 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.686, allocations: 309.1 kB / 1.513 GB, free: 11.4 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004235/1.69, allocations: 2.16 MB / 1.515 GB, free: 9.234 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005665/1.696, allocations: 3.697 MB / 1.519 GB, free: 4.836 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.706, allocations: 6.323 MB / 1.525 GB, free: 13.8 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.93e-05/1.706, allocations: 16 kB / 1.525 GB, free: 13.78 MB / 1.217 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01598/1.722, allocations: 6.787 MB / 1.532 GB, free: 6.945 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/1.722, allocations: 55.58 kB / 1.532 GB, free: 6.887 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/1.722, allocations: 48 kB / 1.532 GB, free: 6.84 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/1.724, allocations: 447.5 kB / 1.532 GB, free: 6.398 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004186/1.728, allocations: 0.9983 MB / 1.533 GB, free: 5.398 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0075/1.735, allocations: 5.712 MB / 1.539 GB, free: 15.41 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006288/1.742, allocations: 279.6 kB / 1.539 GB, free: 15.14 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/1.743, allocations: 216 kB / 1.539 GB, free: 14.93 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007152/1.75, allocations: 2.494 MB / 1.542 GB, free: 12.43 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002626/1.753, allocations: 0.5513 MB / 1.542 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/1.765, allocations: 5.251 MB / 1.547 GB, free: 6.562 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/1.765, allocations: 32 kB / 1.547 GB, free: 6.531 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/1.765, allocations: 4 kB / 1.547 GB, free: 6.527 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008104/1.773, allocations: 4.516 MB / 1.552 GB, free: 1.906 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02906/1.802, allocations: 11.98 MB / 1.563 GB, free: 5.781 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.802, allocations: 0 / 1.563 GB, free: 5.781 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003004/1.805, allocations: 0.644 MB / 1.564 GB, free: 5.137 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009769/1.806, allocations: 373.3 kB / 1.564 GB, free: 4.766 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004523/1.807, allocations: 87.89 kB / 1.565 GB, free: 4.68 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006741/1.814, allocations: 5.619 MB / 1.57 GB, free: 14.79 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.814, allocations: 0 / 1.57 GB, free: 14.79 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/1.829, allocations: 7.783 MB / 1.578 GB, free: 6.91 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004764/1.833, allocations: 1.177 MB / 1.579 GB, free: 5.711 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001947/1.835, allocations: 71.92 kB / 1.579 GB, free: 5.641 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005203/1.84, allocations: 203.9 kB / 1.579 GB, free: 5.441 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006489/1.841, allocations: 194.2 kB / 1.579 GB, free: 5.25 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006244/1.842, allocations: 143.9 kB / 1.579 GB, free: 5.109 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01129/1.853, allocations: 3.963 MB / 1.583 GB, free: 1.168 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/1.853, allocations: 0 / 1.583 GB, free: 1.168 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.01059/1.864, allocations: 2.02 MB / 1.585 GB, free: 15.14 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002027/1.866, allocations: 0.4924 MB / 1.586 GB, free: 14.64 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.877, allocations: 5.244 MB / 1.591 GB, free: 9.348 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.982e-05/1.877, allocations: 4 kB / 1.591 GB, free: 9.344 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005256/1.883, allocations: 2.371 MB / 1.593 GB, free: 6.945 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02041/1.903, allocations: 3.393 MB / 1.596 GB, free: 3.648 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03382/1.937, allocations: 14.21 MB / 1.61 GB, free: 5.363 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004997/1.942, allocations: 4.549 MB / 1.615 GB, free: 0.7852 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/1.944, allocations: 499.2 kB / 1.615 GB, free: 304 kB / 1.295 GB Notification: Performance of SimCode: time 1.553e-06/1.944, allocations: 0 / 1.615 GB, free: 304 kB / 1.295 GB Notification: Performance of Templates: time 0.2993/2.244, allocations: 188.5 MB / 1.799 GB, free: 4.156 MB / 1.482 GB [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches