Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001507/0.001507, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001805/0.001805, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7634/0.765, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05583/0.8208, allocations: 56 MB / 1.143 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03089/0.8518, allocations: 17.95 MB / 1.161 GB, free: 492 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004352/0.8562, allocations: 77.38 kB / 1.161 GB, free: 464 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003642/0.8599, allocations: 0.9168 MB / 1.162 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01015/0.87, allocations: 2.62 MB / 1.164 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.8753, allocations: 1.533 MB / 1.166 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02972/0.9051, allocations: 21.29 MB / 1.187 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01786/0.923, allocations: 10.68 MB / 1.197 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01692/0.9399, allocations: 7.234 MB / 1.204 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01238/0.9523, allocations: 6.358 MB / 1.21 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.003249/0.9556, allocations: 0.9375 MB / 1.211 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0081/0.9637, allocations: 1.709 MB / 1.213 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004649/0.9684, allocations: 2.333 MB / 1.215 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01177/0.9802, allocations: 4.711 MB / 1.22 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.9992, allocations: 13.18 MB / 1.233 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9993, allocations: 0 / 1.233 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9993, allocations: 0 / 1.233 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000469/0.9997, allocations: 0 / 1.233 GB, free: 10.33 MB / 0.9669 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.02327/1.023, allocations: 8.506 MB / 1.241 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/1.023, allocations: 16.02 kB / 1.241 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004361/1.027, allocations: 0.8547 MB / 1.242 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/1.043, allocations: 6.7 MB / 1.248 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005152/1.043, allocations: 460.4 kB / 1.249 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/1.046, allocations: 0.5975 MB / 1.249 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/1.069, allocations: 9.025 MB / 1.258 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002754/1.069, allocations: 15.88 kB / 1.258 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00182/1.071, allocations: 268 kB / 1.258 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/1.071, allocations: 179.9 kB / 1.259 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/1.086, allocations: 7.449 MB / 1.266 GB, free: 7.781 MB / 0.9981 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.05692/1.143, allocations: 36 MB / 1.301 GB, free: 1.711 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007164/1.15, allocations: 4.279 MB / 1.305 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005349/1.156, allocations: 3.297 MB / 1.308 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/1.157, allocations: 0.9583 MB / 1.309 GB, free: 8.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004671/1.162, allocations: 2.386 MB / 1.312 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002788/1.165, allocations: 375.7 kB / 1.312 GB, free: 6.188 MB / 1.045 GB Notification: Performance of pre-optimization done (n=317): time 1.425e-05/1.165, allocations: 0 / 1.312 GB, free: 6.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=317): time 0.01494/1.18, allocations: 7.132 MB / 1.319 GB, free: 14.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/1.18, allocations: 81.91 kB / 1.319 GB, free: 14.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.19, allocations: 5.67 MB / 1.325 GB, free: 9.223 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000812/1.191, allocations: 89.64 kB / 1.325 GB, free: 9.129 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.003164/1.194, allocations: 3.2 MB / 1.328 GB, free: 5.895 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/1.195, allocations: 1.113 MB / 1.329 GB, free: 4.766 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/1.197, allocations: 0.858 MB / 1.33 GB, free: 3.895 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.197, allocations: 309.1 kB / 1.33 GB, free: 3.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/1.2, allocations: 2.16 MB / 1.332 GB, free: 1.422 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004247/1.205, allocations: 3.701 MB / 1.336 GB, free: 13.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/1.212, allocations: 6.315 MB / 1.342 GB, free: 5.984 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.057e-05/1.212, allocations: 16 kB / 1.342 GB, free: 5.969 MB / 1.076 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01102/1.224, allocations: 6.772 MB / 1.349 GB, free: 15.14 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.761e-05/1.224, allocations: 57.77 kB / 1.349 GB, free: 15.08 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.435e-05/1.224, allocations: 48 kB / 1.349 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009857/1.225, allocations: 429.3 kB / 1.349 GB, free: 14.61 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/1.228, allocations: 1.006 MB / 1.35 GB, free: 13.6 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005732/1.234, allocations: 5.698 MB / 1.356 GB, free: 7.629 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005235/1.239, allocations: 283.5 kB / 1.356 GB, free: 7.352 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000857/1.24, allocations: 220 kB / 1.356 GB, free: 7.137 MB / 1.092 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.004548/1.245, allocations: 2.484 MB / 1.359 GB, free: 4.641 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001762/1.247, allocations: 0.5287 MB / 1.359 GB, free: 4.105 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009624/1.256, allocations: 5.27 MB / 1.364 GB, free: 14.78 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006732/1.263, allocations: 4.532 MB / 1.369 GB, free: 10.14 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.263, allocations: 0 / 1.369 GB, free: 10.14 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003933/1.267, allocations: 1.182 MB / 1.37 GB, free: 8.934 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001736/1.269, allocations: 71.91 kB / 1.37 GB, free: 8.863 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003935/1.273, allocations: 187.6 kB / 1.37 GB, free: 8.68 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005742/1.273, allocations: 214.2 kB / 1.37 GB, free: 8.469 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01112/1.284, allocations: 5.25 MB / 1.375 GB, free: 3.172 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01263/1.297, allocations: 7.927 MB / 1.383 GB, free: 11.17 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003291/1.3, allocations: 2.218 MB / 1.385 GB, free: 8.941 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.007926/1.308, allocations: 3.963 MB / 1.389 GB, free: 5 MB / 1.123 GB Notification: Performance of Backend: time 1.513e-06/1.308, allocations: 0 / 1.389 GB, free: 5 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01263/1.321, allocations: 4.121 MB / 1.393 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of SimCode: time 0.03462/1.356, allocations: 15.44 MB / 1.408 GB, free: 1.449 MB / 1.139 GB Notification: Performance of Templates: time 0.1833/1.539, allocations: 118.3 MB / 1.524 GB, free: 12.14 MB / 1.264 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches