Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001885/0.001885, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002319/0.002319, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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 1.601/1.601, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.007/3.007, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.276e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06895/0.06899, allocations: 51.26 MB / 0.8608 GB, free: 14.73 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0345/0.1035, allocations: 16.9 MB / 0.8774 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005251/0.1087, allocations: 103.2 kB / 0.8775 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.003772/0.1125, allocations: 0.9155 MB / 0.8783 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.1227, allocations: 2.731 MB / 0.881 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.005717/0.1285, allocations: 1.653 MB / 0.8826 GB, free: 8.363 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02983/0.1583, allocations: 22.25 MB / 0.9044 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01562/0.1739, allocations: 7.361 MB / 0.9115 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03093/0.2048, allocations: 10.46 MB / 0.9218 GB, free: 216 kB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01563/0.2205, allocations: 6.32 MB / 0.9279 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.004124/0.2246, allocations: 0.9375 MB / 0.9288 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00883/0.2334, allocations: 1.588 MB / 0.9304 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.005844/0.2393, allocations: 2.496 MB / 0.9328 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.01156/0.2508, allocations: 3.349 MB / 0.9361 GB, free: 1.488 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0253/0.2761, allocations: 13.52 MB / 0.9493 GB, free: 3.934 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.2761, allocations: 8 kB / 0.9493 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2761, allocations: 0 / 0.9493 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005276/0.2767, allocations: 0 / 0.9493 GB, free: 3.926 MB / 0.9011 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.02876/0.3054, allocations: 8.544 MB / 0.9577 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.3055, allocations: 16.02 kB / 0.9577 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007881/0.3134, allocations: 1.51 MB / 0.9591 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01857/0.3319, allocations: 7.174 MB / 0.9662 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007557/0.3327, allocations: 460.6 kB / 0.9666 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002976/0.3357, allocations: 0.6214 MB / 0.9672 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02762/0.3633, allocations: 10.1 MB / 0.9771 GB, free: 6.754 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002002/0.3635, allocations: 19.83 kB / 0.9771 GB, free: 6.734 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001631/0.3651, allocations: 268 kB / 0.9773 GB, free: 6.473 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002497/0.3654, allocations: 183.9 kB / 0.9775 GB, free: 6.293 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/0.3862, allocations: 7.449 MB / 0.9848 GB, free: 14.84 MB / 0.948 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.06085/0.447, allocations: 26.62 MB / 1.011 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008105/0.4551, allocations: 3.981 MB / 1.015 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006185/0.4613, allocations: 3.04 MB / 1.018 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.4625, allocations: 218.3 kB / 1.018 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006264/0.4688, allocations: 3.456 MB / 1.021 GB, free: 8.781 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002895/0.4717, allocations: 325.8 kB / 1.022 GB, free: 8.461 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=317): time 1.915e-05/0.4717, allocations: 3.938 kB / 1.022 GB, free: 8.457 MB / 0.9792 GB Notification: Performance of matching and sorting (n=317): time 0.01724/0.4889, allocations: 7.043 MB / 1.028 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.489, allocations: 89.84 kB / 1.029 GB, free: 1.262 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/0.5006, allocations: 4.981 MB / 1.033 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009053/0.5015, allocations: 89.7 kB / 1.033 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004982/0.5065, allocations: 3.263 MB / 1.037 GB, free: 8.898 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002805/0.5093, allocations: 1.154 MB / 1.038 GB, free: 7.734 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003494/0.5128, allocations: 0.8585 MB / 1.039 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.513, allocations: 301.1 kB / 1.039 GB, free: 6.566 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004988/0.518, allocations: 2.192 MB / 1.041 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006544/0.5245, allocations: 3.826 MB / 1.045 GB, free: 15.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/0.5364, allocations: 6.327 MB / 1.051 GB, free: 8.758 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.327e-05/0.5365, allocations: 12 kB / 1.051 GB, free: 8.746 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01762/0.5541, allocations: 6.967 MB / 1.058 GB, free: 1.723 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.5542, allocations: 57.64 kB / 1.058 GB, free: 1.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.907e-05/0.5543, allocations: 48 kB / 1.058 GB, free: 1.613 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.557, allocations: 0.5331 MB / 1.058 GB, free: 1.074 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004558/0.5615, allocations: 1.006 MB / 1.059 GB, free: 68 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5004/1.062, allocations: 5.389 MB / 1.065 GB, free: 266.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005595/1.068, allocations: 290.2 kB / 1.065 GB, free: 266.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000962/1.068, allocations: 216.2 kB / 1.065 GB, free: 266.7 MB / 1.01 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.005223/1.074, allocations: 2.481 MB / 1.068 GB, free: 265.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001954/1.076, allocations: 0.5827 MB / 1.068 GB, free: 265.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008528/1.084, allocations: 5.211 MB / 1.073 GB, free: 263.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/1.084, allocations: 32.06 kB / 1.073 GB, free: 263.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.084, allocations: 2.875 kB / 1.073 GB, free: 263.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006019/1.09, allocations: 4.523 MB / 1.078 GB, free: 261.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02662/1.117, allocations: 10.45 MB / 1.088 GB, free: 258 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.117, allocations: 2.109 kB / 1.088 GB, free: 258 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003827/1.121, allocations: 0.6439 MB / 1.088 GB, free: 258 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/1.123, allocations: 481 kB / 1.089 GB, free: 257.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007159/1.124, allocations: 88.61 kB / 1.089 GB, free: 257.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005932/1.13, allocations: 5.292 MB / 1.094 GB, free: 254.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.13, allocations: 2.781 kB / 1.094 GB, free: 254.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01806/1.148, allocations: 7.779 MB / 1.102 GB, free: 251.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00496/1.153, allocations: 1.089 MB / 1.103 GB, free: 250.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003012/1.156, allocations: 66.64 kB / 1.103 GB, free: 250.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005192/1.161, allocations: 192.2 kB / 1.103 GB, free: 250.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001192/1.162, allocations: 214.8 kB / 1.103 GB, free: 250.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009755/1.163, allocations: 141.5 kB / 1.103 GB, free: 250.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01091/1.174, allocations: 3.387 MB / 1.107 GB, free: 249.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.01e-07/1.174, allocations: 0.7656 kB / 1.107 GB, free: 249.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01433/1.188, allocations: 2.092 MB / 1.109 GB, free: 249.2 MB / 1.01 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.002237/1.191, allocations: 488 kB / 1.109 GB, free: 249 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.203, allocations: 5.269 MB / 1.114 GB, free: 247 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.203, allocations: 3.5 kB / 1.114 GB, free: 247 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004855/1.208, allocations: 2.375 MB / 1.117 GB, free: 246.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01797/1.226, allocations: 2.871 MB / 1.12 GB, free: 245.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03108/1.257, allocations: 13.8 MB / 1.133 GB, free: 237.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007278/1.264, allocations: 4.145 MB / 1.137 GB, free: 234.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00805/1.272, allocations: 1.871 MB / 1.139 GB, free: 232.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/1.275, allocations: 434.9 kB / 1.139 GB, free: 232.5 MB / 1.01 GB Notification: Performance of SimCode: time 2.475e-06/1.275, allocations: 0 / 1.139 GB, free: 232.5 MB / 1.01 GB Notification: Performance of Templates: time 0.1389/1.413, allocations: 102.5 MB / 1.239 GB, free: 132.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.75090438395273]