Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 109.7 kB / 16.41 MB, free: 6.449 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.001761/0.001761, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 461.7 MB / 0.7352 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.89 kB / 1.054 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7514/0.7529, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04595/0.7989, allocations: 49.31 MB / 1.256 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01951/0.8185, allocations: 13.81 MB / 1.27 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.8206, allocations: 71.62 kB / 1.27 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.8229, allocations: 0.8071 MB / 1.271 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.8285, allocations: 2.25 MB / 1.273 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/0.8317, allocations: 1.315 MB / 1.274 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01967/0.8514, allocations: 19.59 MB / 1.293 GB, free: 6.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01245/0.8638, allocations: 9.902 MB / 1.303 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.8748, allocations: 6.507 MB / 1.309 GB, free: 5.715 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009075/0.8839, allocations: 5.759 MB / 1.315 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002281/0.8862, allocations: 0.8438 MB / 1.316 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/0.8913, allocations: 1.604 MB / 1.317 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003059/0.8944, allocations: 2.123 MB / 1.319 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.007355/0.9018, allocations: 4.287 MB / 1.324 GB, free: 7.051 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.9137, allocations: 12.06 MB / 1.335 GB, free: 10.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9138, allocations: 0 / 1.335 GB, free: 10.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9138, allocations: 0 / 1.335 GB, free: 10.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001943/0.914, allocations: 0 / 1.335 GB, free: 10.96 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01225/0.9262, allocations: 7.731 MB / 1.343 GB, free: 3.152 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.9263, allocations: 12.03 kB / 1.343 GB, free: 3.141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.9284, allocations: 0.7852 MB / 1.344 GB, free: 2.348 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009434/0.9378, allocations: 6.31 MB / 1.35 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.9381, allocations: 415.4 kB / 1.35 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007102/0.9388, allocations: 0.5428 MB / 1.351 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.9504, allocations: 8.072 MB / 1.359 GB, free: 2.715 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.825e-05/0.9505, allocations: 19.88 kB / 1.359 GB, free: 2.695 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005105/0.951, allocations: 236 kB / 1.359 GB, free: 2.465 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.9511, allocations: 164 kB / 1.359 GB, free: 2.305 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009326/0.9605, allocations: 6.528 MB / 1.365 GB, free: 11.77 MB / 1.092 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.03286/0.9933, allocations: 31.2 MB / 1.396 GB, free: 10.73 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004779/0.9981, allocations: 3.65 MB / 1.399 GB, free: 7.082 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00346/1.002, allocations: 2.796 MB / 1.402 GB, free: 4.277 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008783/1.003, allocations: 0.8357 MB / 1.403 GB, free: 3.273 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/1.003, allocations: 72.66 kB / 1.403 GB, free: 3.191 MB / 1.123 GB Notification: Performance of pre-optimization done (n=267): time 5.259e-06/1.003, allocations: 0 / 1.403 GB, free: 3.191 MB / 1.123 GB Notification: Performance of matching and sorting (n=267): time 0.00969/1.012, allocations: 5.767 MB / 1.409 GB, free: 13.32 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/1.012, allocations: 77.52 kB / 1.409 GB, free: 13.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006199/1.019, allocations: 5.227 MB / 1.414 GB, free: 8.008 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.00024/1.019, allocations: 81.7 kB / 1.414 GB, free: 7.922 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002065/1.021, allocations: 2.872 MB / 1.417 GB, free: 5.02 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008703/1.022, allocations: 0.9359 MB / 1.418 GB, free: 4.07 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008969/1.023, allocations: 0.7113 MB / 1.418 GB, free: 3.352 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/1.023, allocations: 305.1 kB / 1.419 GB, free: 3.051 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/1.025, allocations: 1.678 MB / 1.42 GB, free: 1.371 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/1.028, allocations: 2.932 MB / 1.423 GB, free: 13.89 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005732/1.034, allocations: 4.962 MB / 1.428 GB, free: 8.332 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/1.034, allocations: 12 kB / 1.428 GB, free: 8.32 MB / 1.154 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007943/1.042, allocations: 5.441 MB / 1.433 GB, free: 2.824 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/1.042, allocations: 20 kB / 1.433 GB, free: 2.805 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-05/1.042, allocations: 40.91 kB / 1.433 GB, free: 2.766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008746/1.043, allocations: 423.4 kB / 1.434 GB, free: 2.348 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/1.046, allocations: 0.858 MB / 1.435 GB, free: 1.488 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005571/1.051, allocations: 5.708 MB / 1.44 GB, free: 11.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/1.055, allocations: 0.5183 MB / 1.441 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/1.055, allocations: 176 kB / 1.441 GB, free: 10.81 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.003477/1.058, allocations: 2.284 MB / 1.443 GB, free: 8.512 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.06, allocations: 482.2 kB / 1.444 GB, free: 8.035 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006597/1.066, allocations: 4.183 MB / 1.448 GB, free: 3.797 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004822/1.071, allocations: 3.628 MB / 1.451 GB, free: 56 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/1.071, allocations: 7.938 kB / 1.451 GB, free: 48 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002176/1.073, allocations: 1.073 MB / 1.452 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008907/1.074, allocations: 59.94 kB / 1.452 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002753/1.077, allocations: 167.6 kB / 1.453 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/1.077, allocations: 169.9 kB / 1.453 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00749/1.085, allocations: 4.217 MB / 1.457 GB, free: 10.29 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008252/1.093, allocations: 6.233 MB / 1.463 GB, free: 3.965 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002125/1.095, allocations: 1.73 MB / 1.465 GB, free: 2.219 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.005769/1.101, allocations: 3.675 MB / 1.468 GB, free: 14.55 MB / 1.201 GB Notification: Performance of Backend: time 2.71e-07/1.101, allocations: 0 / 1.468 GB, free: 14.55 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.007036/1.108, allocations: 3.362 MB / 1.471 GB, free: 11.17 MB / 1.201 GB Notification: Performance of SimCode: time 0.02588/1.134, allocations: 14.36 MB / 1.485 GB, free: 12.84 MB / 1.217 GB Notification: Performance of Templates: time 0.7224/1.856, allocations: 107.7 MB / 1.591 GB, free: 322.1 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches