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.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.0009883/0.0009883, allocations: 81.95 kB / 21.47 MB, free: 3.027 MB / 18.57 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.001038/0.001038, allocations: 160.9 kB / 24.87 MB, free: 8.863 MB / 18.57 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 0.9797/0.9797, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.852/1.852, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y|tan.vol.[0-9,]+..T",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y|tan.vol.[0-9,]+..T",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.751e-05, allocations: 8.922 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01233/0.01235, allocations: 16.31 MB / 0.8042 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008709/0.02106, allocations: 6.034 MB / 0.8101 GB, free: 5.883 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.0224, allocations: 99.19 kB / 0.8102 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009399/0.02334, allocations: 0.5388 MB / 0.8107 GB, free: 5.242 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.02599, allocations: 1.813 MB / 0.8125 GB, free: 3.418 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.02807, allocations: 1.486 MB / 0.814 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01423/0.04231, allocations: 21.77 MB / 0.8352 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008198/0.05051, allocations: 7.373 MB / 0.8424 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01614/0.06664, allocations: 10.08 MB / 0.8523 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008882/0.07552, allocations: 6.542 MB / 0.8587 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.0774, allocations: 0.9257 MB / 0.8596 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.08036, allocations: 1.183 MB / 0.8607 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001998/0.08236, allocations: 2.48 MB / 0.8631 GB, free: 15.47 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.004099/0.08646, allocations: 3.321 MB / 0.8664 GB, free: 12.15 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.007809/0.09427, allocations: 7.954 MB / 0.8741 GB, free: 4.172 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.09428, allocations: 0 / 0.8741 GB, free: 4.172 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.883e-06/0.09428, allocations: 0 / 0.8741 GB, free: 4.172 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.00011/0.09439, allocations: 3.984 kB / 0.8742 GB, free: 4.168 MB / 0.823 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.008471/0.1029, allocations: 8.587 MB / 0.8825 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1029, allocations: 8.031 kB / 0.8825 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.1051, allocations: 1.518 MB / 0.884 GB, free: 9.957 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004964/0.1101, allocations: 5.109 MB / 0.889 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.1103, allocations: 460.5 kB / 0.8895 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006199/0.1109, allocations: 0.6175 MB / 0.8901 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005537/0.1165, allocations: 6.15 MB / 0.8961 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.905e-05/0.1166, allocations: 19.81 kB / 0.8961 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003968/0.117, allocations: 260 kB / 0.8963 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.1171, allocations: 179.9 kB / 0.8965 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.1198, allocations: 1.961 MB / 0.8984 GB, free: 10.45 MB / 0.8542 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.02288/0.1427, allocations: 26.7 MB / 0.9245 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.1448, allocations: 1.644 MB / 0.9261 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.1462, allocations: 1.328 MB / 0.9274 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.1466, allocations: 170.3 kB / 0.9276 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/0.1481, allocations: 2.085 MB / 0.9296 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001632/0.1498, allocations: 333.7 kB / 0.9299 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=317): time 5.962e-06/0.1498, allocations: 0 / 0.9299 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of matching and sorting (n=317): time 0.004792/0.1546, allocations: 2.884 MB / 0.9327 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.1546, allocations: 85.91 kB / 0.9328 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/0.1585, allocations: 4.103 MB / 0.9368 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.1586, allocations: 85.7 kB / 0.9369 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002431/0.1611, allocations: 3.538 MB / 0.9404 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008263/0.1619, allocations: 1.221 MB / 0.9415 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/0.1629, allocations: 0.9529 MB / 0.9425 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1631, allocations: 476.8 kB / 0.9429 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007937/0.1638, allocations: 0.5255 MB / 0.9434 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.166, allocations: 2.898 MB / 0.9463 GB, free: 7.438 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002972/0.169, allocations: 3.716 MB / 0.9499 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.286e-05/0.169, allocations: 16 kB / 0.9499 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.004314/0.1733, allocations: 3.534 MB / 0.9534 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.103e-05/0.1734, allocations: 49.7 kB / 0.9534 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.052e-05/0.1734, allocations: 52 kB / 0.9535 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.1745, allocations: 406 kB / 0.9539 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.1763, allocations: 0.9516 MB / 0.9548 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.1796, allocations: 5.145 MB / 0.9598 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.1817, allocations: 179.9 kB / 0.96 GB, free: 8.148 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/0.1819, allocations: 184 kB / 0.9602 GB, free: 7.969 MB / 0.9167 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.001516/0.1834, allocations: 459 kB / 0.9606 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006478/0.1841, allocations: 0.5906 MB / 0.9612 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.1871, allocations: 2.366 MB / 0.9635 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.1871, allocations: 32 kB / 0.9635 GB, free: 4.457 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.1871, allocations: 7.938 kB / 0.9635 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001951/0.189, allocations: 1.785 MB / 0.9653 GB, free: 2.559 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007834/0.1969, allocations: 6.257 MB / 0.9714 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1969, allocations: 0 / 0.9714 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.1982, allocations: 0.5814 MB / 0.9719 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009264/0.1991, allocations: 334.6 kB / 0.9723 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.1993, allocations: 87.95 kB / 0.9723 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.2023, allocations: 5.071 MB / 0.9773 GB, free: 5.898 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2023, allocations: 0 / 0.9773 GB, free: 5.898 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/0.206, allocations: 3.086 MB / 0.9803 GB, free: 2.703 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.2073, allocations: 0.8695 MB / 0.9812 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/0.2076, allocations: 63.98 kB / 0.9812 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.2088, allocations: 115.9 kB / 0.9813 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.2091, allocations: 218 kB / 0.9815 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/0.2093, allocations: 123.9 kB / 0.9817 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001829/0.2111, allocations: 1.974 MB / 0.9836 GB, free: 15.35 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.2111, allocations: 0 / 0.9836 GB, free: 15.35 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004019/0.2151, allocations: 2.007 MB / 0.9855 GB, free: 13.34 MB / 0.948 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.0005391/0.2156, allocations: 281.6 kB / 0.9858 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003209/0.2189, allocations: 2.773 MB / 0.9885 GB, free: 10.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.2189, allocations: 4.375 kB / 0.9885 GB, free: 10.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.2201, allocations: 1.437 MB / 0.9899 GB, free: 8.719 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005592/0.2257, allocations: 2.825 MB / 0.9927 GB, free: 5.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.2388, allocations: 10.71 MB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.2402, allocations: 1.778 MB / 1.005 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002711/0.2429, allocations: 0.8898 MB / 1.006 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003705/0.2466, allocations: 2.02 MB / 1.008 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of SimCode: time 1.824e-06/0.2466, allocations: 4 kB / 1.008 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of Templates: time 0.7773/1.024, allocations: 109.9 MB / 1.115 GB, free: 258.4 MB / 1.011 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.344060234725475]