Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 113.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001903, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 437 MB / 0.7177 GB, free: 4.473 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,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_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.91 kB / 1.028 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 151.6 MB / 1.176 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0626/0.4113, allocations: 56.01 MB / 1.231 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02725/0.4386, allocations: 17.96 MB / 1.248 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.4423, allocations: 75.56 kB / 1.248 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003305/0.4456, allocations: 0.8807 MB / 1.249 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008752/0.4544, allocations: 2.51 MB / 1.251 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.4592, allocations: 1.53 MB / 1.253 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.8075/1.267, allocations: 21.24 MB / 1.274 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01796/1.285, allocations: 10.67 MB / 1.284 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01949/1.304, allocations: 7.167 MB / 1.291 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01508/1.319, allocations: 6.359 MB / 1.297 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004738/1.324, allocations: 0.94 MB / 1.298 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/1.335, allocations: 1.694 MB / 1.3 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006758/1.342, allocations: 2.337 MB / 1.302 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01643/1.358, allocations: 4.704 MB / 1.307 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02795/1.386, allocations: 13.23 MB / 1.32 GB, free: 13.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.386, allocations: 0 / 1.32 GB, free: 13.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.386, allocations: 0 / 1.32 GB, free: 13.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0006837/1.387, allocations: 0 / 1.32 GB, free: 13.88 MB / 1.014 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.03298/1.42, allocations: 8.733 MB / 1.328 GB, free: 9.328 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.42, allocations: 8.906 kB / 1.328 GB, free: 9.328 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006568/1.426, allocations: 0.8963 MB / 1.329 GB, free: 8.887 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01779/1.444, allocations: 6.734 MB / 1.336 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005259/1.445, allocations: 460.6 kB / 1.336 GB, free: 5.793 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003072/1.448, allocations: 0.6004 MB / 1.337 GB, free: 5.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02653/1.474, allocations: 9.029 MB / 1.346 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003985/1.475, allocations: 22.34 kB / 1.346 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002851/1.478, allocations: 261 kB / 1.346 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/1.478, allocations: 188.8 kB / 1.346 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/1.498, allocations: 7.445 MB / 1.353 GB, free: 12.46 MB / 1.029 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.07325/1.571, allocations: 36.07 MB / 1.388 GB, free: 6.969 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/1.583, allocations: 4.274 MB / 1.393 GB, free: 2.723 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008617/1.591, allocations: 3.292 MB / 1.396 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002011/1.593, allocations: 0.96 MB / 1.397 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006445/1.6, allocations: 2.391 MB / 1.399 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003952/1.604, allocations: 388.2 kB / 1.399 GB, free: 11.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=317): time 1.355e-05/1.604, allocations: 0 / 1.399 GB, free: 11.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=317): time 0.01904/1.623, allocations: 7.156 MB / 1.406 GB, free: 4.277 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/1.623, allocations: 85.09 kB / 1.407 GB, free: 4.184 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0151/1.638, allocations: 5.669 MB / 1.412 GB, free: 14.54 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001217/1.639, allocations: 89.64 kB / 1.412 GB, free: 14.45 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00564/1.645, allocations: 3.279 MB / 1.415 GB, free: 11.16 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.002748/1.648, allocations: 1.172 MB / 1.417 GB, free: 10 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003602/1.651, allocations: 0.8624 MB / 1.417 GB, free: 9.129 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.652, allocations: 301.1 kB / 1.418 GB, free: 8.832 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004705/1.656, allocations: 2.163 MB / 1.42 GB, free: 6.66 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006476/1.663, allocations: 3.697 MB / 1.423 GB, free: 2.285 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/1.675, allocations: 6.322 MB / 1.43 GB, free: 11.45 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.436e-05/1.675, allocations: 12 kB / 1.43 GB, free: 11.44 MB / 1.107 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01727/1.692, allocations: 6.801 MB / 1.436 GB, free: 4.879 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/1.692, allocations: 58.62 kB / 1.436 GB, free: 4.816 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/1.692, allocations: 48 kB / 1.436 GB, free: 4.77 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/1.694, allocations: 435.6 kB / 1.437 GB, free: 4.34 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004454/1.698, allocations: 1.006 MB / 1.438 GB, free: 3.332 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007502/1.706, allocations: 5.711 MB / 1.443 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006374/1.712, allocations: 283.7 kB / 1.444 GB, free: 13.09 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00132/1.713, allocations: 220 kB / 1.444 GB, free: 12.87 MB / 1.123 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.007724/1.721, allocations: 2.479 MB / 1.446 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00284/1.724, allocations: 0.5513 MB / 1.447 GB, free: 9.824 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.737, allocations: 5.27 MB / 1.452 GB, free: 4.496 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-05/1.738, allocations: 32 kB / 1.452 GB, free: 4.465 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/1.738, allocations: 15.98 kB / 1.452 GB, free: 4.449 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008776/1.746, allocations: 4.528 MB / 1.456 GB, free: 15.82 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03186/1.778, allocations: 11.99 MB / 1.468 GB, free: 3.766 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.778, allocations: 0 / 1.468 GB, free: 3.766 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/1.782, allocations: 0.6438 MB / 1.469 GB, free: 3.121 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/1.783, allocations: 377.3 kB / 1.469 GB, free: 2.746 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005576/1.783, allocations: 83.95 kB / 1.469 GB, free: 2.664 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006637/1.79, allocations: 5.616 MB / 1.475 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.79, allocations: 0 / 1.475 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.806, allocations: 7.789 MB / 1.482 GB, free: 4.906 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004294/1.81, allocations: 1.181 MB / 1.483 GB, free: 3.703 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002259/1.812, allocations: 63.98 kB / 1.483 GB, free: 3.641 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004758/1.817, allocations: 203 kB / 1.484 GB, free: 3.445 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007686/1.818, allocations: 202.2 kB / 1.484 GB, free: 3.246 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006569/1.819, allocations: 143.9 kB / 1.484 GB, free: 3.105 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.009445/1.828, allocations: 3.959 MB / 1.488 GB, free: 15.17 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.91e-07/1.828, allocations: 0 / 1.488 GB, free: 15.17 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.009698/1.838, allocations: 2.02 MB / 1.49 GB, free: 13.14 MB / 1.17 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.002108/1.84, allocations: 0.5019 MB / 1.49 GB, free: 12.66 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01064/1.851, allocations: 5.449 MB / 1.496 GB, free: 7.184 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.098e-06/1.851, allocations: 8.062 kB / 1.496 GB, free: 7.176 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004733/1.855, allocations: 2.533 MB / 1.498 GB, free: 4.613 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01914/1.875, allocations: 3.392 MB / 1.501 GB, free: 1.316 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/1.905, allocations: 14.13 MB / 1.515 GB, free: 3.133 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007337/1.913, allocations: 4.546 MB / 1.52 GB, free: 14.56 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002924/1.916, allocations: 491.3 kB / 1.52 GB, free: 14.08 MB / 1.201 GB Notification: Performance of SimCode: time 2.886e-06/1.916, allocations: 4 kB / 1.52 GB, free: 14.07 MB / 1.201 GB Notification: Performance of Templates: time 0.2891/2.205, allocations: 188 MB / 1.704 GB, free: 2.562 MB / 1.373 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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: 30.833749821060337]