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.0007982/0.0007982, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007813/0.0007813, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8531/0.8531, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.671/1.671, allocations: 359 MB / 0.6044 GB, free: 11.1 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.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=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_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.511e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03222/0.03225, allocations: 51.17 MB / 1.002 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.04769, allocations: 16.77 MB / 1.018 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.04973, allocations: 103.2 kB / 1.018 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.05157, allocations: 0.9077 MB / 1.019 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.004971/0.05654, allocations: 2.746 MB / 1.022 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.05924, allocations: 1.657 MB / 1.023 GB, free: 9.398 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.01378/0.07302, allocations: 22.11 MB / 1.045 GB, free: 3.227 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.544/0.617, allocations: 7.098 MB / 1.052 GB, free: 49.56 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02171/0.6387, allocations: 10.09 MB / 1.062 GB, free: 49.56 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.6504, allocations: 6.4 MB / 1.068 GB, free: 49.56 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.6518, allocations: 0.9401 MB / 1.069 GB, free: 49.56 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003662/0.6555, allocations: 1.596 MB / 1.07 GB, free: 49.56 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.657, allocations: 2.494 MB / 1.073 GB, free: 49.56 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.003622/0.6606, allocations: 3.336 MB / 1.076 GB, free: 49.56 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01493/0.6755, allocations: 13.47 MB / 1.089 GB, free: 48.99 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6755, allocations: 0 / 1.089 GB, free: 48.99 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6755, allocations: 1.719 kB / 1.089 GB, free: 48.99 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003903/0.6759, allocations: 0 / 1.089 GB, free: 48.99 MB / 0.9948 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.01856/0.6945, allocations: 8.561 MB / 1.098 GB, free: 45.94 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.6945, allocations: 9.562 kB / 1.098 GB, free: 45.94 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/0.6972, allocations: 0.9605 MB / 1.099 GB, free: 45.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00993/0.7071, allocations: 6.771 MB / 1.105 GB, free: 43.45 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.7074, allocations: 459.6 kB / 1.106 GB, free: 43.24 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007788/0.7082, allocations: 0.6004 MB / 1.106 GB, free: 43.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/0.7224, allocations: 10.1 MB / 1.116 GB, free: 38.03 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.7225, allocations: 22.89 kB / 1.116 GB, free: 38.02 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005092/0.723, allocations: 260.9 kB / 1.116 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.7232, allocations: 181.1 kB / 1.117 GB, free: 37.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.7338, allocations: 7.452 MB / 1.124 GB, free: 35.38 MB / 0.9948 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.03234/0.7661, allocations: 26.31 MB / 1.15 GB, free: 20.63 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/0.7699, allocations: 3.971 MB / 1.153 GB, free: 19.24 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/0.7727, allocations: 3.043 MB / 1.156 GB, free: 18.26 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.7733, allocations: 197.3 kB / 1.157 GB, free: 18.24 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00291/0.7762, allocations: 3.451 MB / 1.16 GB, free: 16.09 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002128/0.7783, allocations: 323 kB / 1.16 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=317): time 1.266e-05/0.7783, allocations: 0 / 1.16 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.007803/0.7861, allocations: 6.941 MB / 1.167 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.7862, allocations: 86.09 kB / 1.167 GB, free: 12.58 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005425/0.7916, allocations: 4.981 MB / 1.172 GB, free: 9.98 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002142/0.7918, allocations: 90.02 kB / 1.172 GB, free: 9.906 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002251/0.7941, allocations: 3.261 MB / 1.175 GB, free: 7.105 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008353/0.7949, allocations: 1.161 MB / 1.176 GB, free: 6.117 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009205/0.7958, allocations: 0.8516 MB / 1.177 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.7958, allocations: 301.1 kB / 1.177 GB, free: 5.336 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.7979, allocations: 2.19 MB / 1.18 GB, free: 4.18 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/0.8004, allocations: 3.833 MB / 1.183 GB, free: 0.9219 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005815/0.8062, allocations: 6.322 MB / 1.19 GB, free: 12.27 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/0.8062, allocations: 12 kB / 1.19 GB, free: 12.26 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008523/0.8148, allocations: 6.76 MB / 1.196 GB, free: 5.742 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.8148, allocations: 53.7 kB / 1.196 GB, free: 5.684 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.782e-05/0.8149, allocations: 50.5 kB / 1.196 GB, free: 5.637 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007108/0.8156, allocations: 446.1 kB / 1.197 GB, free: 5.199 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.8176, allocations: 0.999 MB / 1.198 GB, free: 4.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00424/0.8218, allocations: 5.373 MB / 1.203 GB, free: 14.76 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/0.8256, allocations: 287.7 kB / 1.203 GB, free: 14.48 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002942/0.8259, allocations: 216 kB / 1.203 GB, free: 14.27 MB / 1.026 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.005153/0.8311, allocations: 2.487 MB / 1.206 GB, free: 11.84 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/0.8324, allocations: 0.4891 MB / 1.206 GB, free: 11.35 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00624/0.8386, allocations: 5.203 MB / 1.211 GB, free: 6.109 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.8386, allocations: 28 kB / 1.211 GB, free: 6.082 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.8387, allocations: 8 kB / 1.211 GB, free: 6.074 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004528/0.8432, allocations: 4.533 MB / 1.216 GB, free: 1.453 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.8579, allocations: 10.43 MB / 1.226 GB, free: 7.031 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.8579, allocations: 4 kB / 1.226 GB, free: 7.027 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/0.8593, allocations: 0.6485 MB / 1.227 GB, free: 6.406 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005323/0.8599, allocations: 373.3 kB / 1.227 GB, free: 6.035 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/0.8601, allocations: 83.95 kB / 1.227 GB, free: 5.953 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003846/0.8639, allocations: 5.265 MB / 1.232 GB, free: 0.5352 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.8639, allocations: 7.938 kB / 1.232 GB, free: 0.5273 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008485/0.8724, allocations: 7.675 MB / 1.24 GB, free: 8.77 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/0.8749, allocations: 1.069 MB / 1.241 GB, free: 7.699 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005022/0.8754, allocations: 74.39 kB / 1.241 GB, free: 7.629 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.8769, allocations: 206.3 kB / 1.241 GB, free: 7.43 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.8772, allocations: 205.4 kB / 1.241 GB, free: 7.23 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/0.8774, allocations: 139.9 kB / 1.241 GB, free: 7.094 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.003942/0.8814, allocations: 3.388 MB / 1.245 GB, free: 3.711 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8814, allocations: 0 / 1.245 GB, free: 3.711 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004993/0.8864, allocations: 2.085 MB / 1.247 GB, free: 1.621 MB / 1.057 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.000834/0.8872, allocations: 488.4 kB / 1.247 GB, free: 1.188 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.005798/0.893, allocations: 5.266 MB / 1.252 GB, free: 12.05 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.893, allocations: 4 kB / 1.252 GB, free: 12.04 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/0.8952, allocations: 2.368 MB / 1.255 GB, free: 9.707 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006885/0.9021, allocations: 2.757 MB / 1.257 GB, free: 7.039 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.9195, allocations: 13.71 MB / 1.271 GB, free: 9.273 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002995/0.9225, allocations: 4.068 MB / 1.275 GB, free: 5.168 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/0.9245, allocations: 463.5 kB / 1.275 GB, free: 4.719 MB / 1.089 GB Notification: Performance of SimCode: time 1.393e-06/0.9245, allocations: 0 / 1.275 GB, free: 4.719 MB / 1.089 GB Notification: Performance of Templates: time 0.1733/1.098, allocations: 182.9 MB / 1.454 GB, free: 14.43 MB / 1.276 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=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/jenkins/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 [Calling sys.exit(0), Time elapsed: 18.463613643310964]