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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 108.3 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001548, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.11 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9019/0.9034, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05492/0.9583, allocations: 56 MB / 1.222 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02267/0.9811, allocations: 17.95 MB / 1.24 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.9846, allocations: 79.5 kB / 1.24 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.9877, allocations: 0.9236 MB / 1.24 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008341/0.9961, allocations: 2.617 MB / 1.243 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004373/1, allocations: 1.539 MB / 1.245 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02072/1.021, allocations: 21.28 MB / 1.265 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01325/1.034, allocations: 10.67 MB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01434/1.049, allocations: 7.243 MB / 1.283 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01195/1.061, allocations: 6.358 MB / 1.289 GB, free: 6.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.003525/1.064, allocations: 0.9375 MB / 1.29 GB, free: 5.883 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008515/1.073, allocations: 1.698 MB / 1.292 GB, free: 4.184 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004851/1.078, allocations: 2.341 MB / 1.294 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01245/1.09, allocations: 4.7 MB / 1.298 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01898/1.109, allocations: 13.18 MB / 1.311 GB, free: 15.9 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.109, allocations: 0 / 1.311 GB, free: 15.9 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.303e-06/1.109, allocations: 3.938 kB / 1.311 GB, free: 15.9 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004398/1.11, allocations: 0 / 1.311 GB, free: 15.9 MB / 1.045 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.02589/1.136, allocations: 8.521 MB / 1.32 GB, free: 7.285 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.136, allocations: 8.922 kB / 1.32 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005916/1.142, allocations: 0.8547 MB / 1.321 GB, free: 6.414 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/1.159, allocations: 6.704 MB / 1.327 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004788/1.16, allocations: 464.3 kB / 1.328 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002656/1.163, allocations: 0.5937 MB / 1.328 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02392/1.187, allocations: 9.032 MB / 1.337 GB, free: 5.246 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/1.187, allocations: 19.78 kB / 1.337 GB, free: 5.227 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/1.188, allocations: 268 kB / 1.337 GB, free: 4.965 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002487/1.188, allocations: 172 kB / 1.337 GB, free: 4.797 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01914/1.207, allocations: 7.449 MB / 1.345 GB, free: 13.34 MB / 1.076 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.06142/1.269, allocations: 36 MB / 1.38 GB, free: 7.273 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007105/1.276, allocations: 4.282 MB / 1.384 GB, free: 2.984 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005158/1.281, allocations: 3.299 MB / 1.387 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.282, allocations: 0.9583 MB / 1.388 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004411/1.287, allocations: 2.394 MB / 1.39 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00258/1.289, allocations: 367.9 kB / 1.391 GB, free: 11.74 MB / 1.123 GB Notification: Performance of pre-optimization done (n=317): time 1.197e-05/1.29, allocations: 0 / 1.391 GB, free: 11.74 MB / 1.123 GB Notification: Performance of matching and sorting (n=317): time 0.01432/1.304, allocations: 7.14 MB / 1.398 GB, free: 4.512 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/1.304, allocations: 81.91 kB / 1.398 GB, free: 4.418 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.314, allocations: 5.662 MB / 1.403 GB, free: 14.78 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0009905/1.315, allocations: 89.69 kB / 1.403 GB, free: 14.68 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.003674/1.319, allocations: 3.196 MB / 1.407 GB, free: 11.45 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001866/1.321, allocations: 1.113 MB / 1.408 GB, free: 10.32 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/1.322, allocations: 0.858 MB / 1.409 GB, free: 9.453 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.322, allocations: 309.1 kB / 1.409 GB, free: 9.148 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003552/1.326, allocations: 2.163 MB / 1.411 GB, free: 6.977 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004787/1.331, allocations: 3.697 MB / 1.415 GB, free: 2.582 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009153/1.34, allocations: 6.319 MB / 1.421 GB, free: 11.54 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-05/1.34, allocations: 12 kB / 1.421 GB, free: 11.53 MB / 1.154 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01325/1.353, allocations: 6.776 MB / 1.427 GB, free: 4.703 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.916e-05/1.353, allocations: 57.69 kB / 1.427 GB, free: 4.641 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.386e-05/1.354, allocations: 48 kB / 1.427 GB, free: 4.594 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.355, allocations: 433.7 kB / 1.428 GB, free: 4.164 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00391/1.358, allocations: 1.01 MB / 1.429 GB, free: 3.152 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006255/1.365, allocations: 5.707 MB / 1.434 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005523/1.37, allocations: 283.5 kB / 1.435 GB, free: 12.9 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.371, allocations: 216 kB / 1.435 GB, free: 12.69 MB / 1.17 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.005695/1.377, allocations: 2.479 MB / 1.437 GB, free: 10.2 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00198/1.379, allocations: 0.5248 MB / 1.438 GB, free: 9.664 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00951/1.389, allocations: 5.274 MB / 1.443 GB, free: 4.332 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.375e-05/1.389, allocations: 35.98 kB / 1.443 GB, free: 4.297 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.389, allocations: 4 kB / 1.443 GB, free: 4.293 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006959/1.396, allocations: 4.528 MB / 1.447 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/1.421, allocations: 11.99 MB / 1.459 GB, free: 3.523 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.421, allocations: 0 / 1.459 GB, free: 3.523 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002815/1.424, allocations: 0.6438 MB / 1.46 GB, free: 2.879 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008866/1.425, allocations: 370.5 kB / 1.46 GB, free: 2.512 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002766/1.425, allocations: 87.95 kB / 1.46 GB, free: 2.426 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005886/1.431, allocations: 5.623 MB / 1.466 GB, free: 12.53 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.431, allocations: 7.938 kB / 1.466 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.444, allocations: 7.757 MB / 1.473 GB, free: 4.664 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004191/1.449, allocations: 1.155 MB / 1.474 GB, free: 3.484 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/1.45, allocations: 75.92 kB / 1.474 GB, free: 3.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/1.454, allocations: 187.7 kB / 1.475 GB, free: 3.227 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005502/1.455, allocations: 202.2 kB / 1.475 GB, free: 3.027 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003757/1.455, allocations: 143.9 kB / 1.475 GB, free: 2.887 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007403/1.463, allocations: 3.955 MB / 1.479 GB, free: 14.95 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.022e-06/1.463, allocations: 96 / 1.479 GB, free: 14.95 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.008606/1.471, allocations: 2.014 MB / 1.481 GB, free: 12.93 MB / 1.217 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.001807/1.473, allocations: 494.5 kB / 1.481 GB, free: 12.44 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.009664/1.483, allocations: 5.44 MB / 1.487 GB, free: 6.949 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/1.483, allocations: 4 kB / 1.487 GB, free: 6.945 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004428/1.487, allocations: 2.542 MB / 1.489 GB, free: 4.375 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01511/1.502, allocations: 3.386 MB / 1.492 GB, free: 1.082 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/1.527, allocations: 13.93 MB / 1.506 GB, free: 3.094 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00459/1.531, allocations: 4.561 MB / 1.51 GB, free: 14.5 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/1.533, allocations: 495.2 kB / 1.511 GB, free: 14.02 MB / 1.248 GB Notification: Performance of SimCode: time 8.01e-07/1.533, allocations: 0 / 1.511 GB, free: 14.02 MB / 1.248 GB Notification: Performance of Templates: time 0.8374/2.371, allocations: 188 MB / 1.695 GB, free: 236.5 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches