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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001251/0.001251, allocations: 114.3 kB / 16.81 MB, free: 5.766 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.001272/0.001272, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.387/1.387, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.722/2.722, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.91 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3327, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06004/0.3927, allocations: 56.42 MB / 1.317 GB, free: 4.316 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02623/0.4189, allocations: 18.03 MB / 1.335 GB, free: 2.23 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/0.4221, allocations: 79.56 kB / 1.335 GB, free: 2.152 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003156/0.4253, allocations: 0.9235 MB / 1.336 GB, free: 1.223 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00763/0.4329, allocations: 2.612 MB / 1.338 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.4371, allocations: 1.562 MB / 1.34 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02292/0.46, allocations: 21.3 MB / 1.361 GB, free: 7.688 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.4726, allocations: 8.882 MB / 1.369 GB, free: 14.69 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01717/0.4898, allocations: 7.262 MB / 1.376 GB, free: 7.449 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01189/0.5017, allocations: 6.662 MB / 1.383 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00317/0.5049, allocations: 0.9415 MB / 1.384 GB, free: 15.82 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007073/0.5119, allocations: 1.721 MB / 1.385 GB, free: 14.1 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004686/0.5166, allocations: 2.437 MB / 1.388 GB, free: 11.65 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01028/0.5269, allocations: 4.707 MB / 1.392 GB, free: 6.926 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0199/0.5468, allocations: 13.22 MB / 1.405 GB, free: 9.66 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5468, allocations: 0 / 1.405 GB, free: 9.66 MB / 1.123 GB Notification: Performance of FrontEnd: time 4.469e-06/0.5468, allocations: 4 kB / 1.405 GB, free: 9.656 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000516/0.5473, allocations: 0 / 1.405 GB, free: 9.656 MB / 1.123 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.02798/0.5753, allocations: 8.701 MB / 1.414 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.5754, allocations: 8.031 kB / 1.414 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005525/0.5809, allocations: 0.8963 MB / 1.415 GB, free: 15.94 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/0.5966, allocations: 6.739 MB / 1.421 GB, free: 9.145 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00053/0.5971, allocations: 466.2 kB / 1.422 GB, free: 8.688 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002382/0.5995, allocations: 0.5937 MB / 1.422 GB, free: 8.094 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/0.6228, allocations: 9.032 MB / 1.431 GB, free: 14.74 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000298/0.6231, allocations: 27.81 kB / 1.431 GB, free: 14.71 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001903/0.625, allocations: 264 kB / 1.431 GB, free: 14.45 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000241/0.6253, allocations: 187.8 kB / 1.432 GB, free: 14.27 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.643, allocations: 7.461 MB / 1.439 GB, free: 6.801 MB / 1.154 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.06001/0.703, allocations: 36.06 MB / 1.474 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007474/0.7105, allocations: 4.007 MB / 1.478 GB, free: 12.66 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005486/0.7159, allocations: 3.031 MB / 1.481 GB, free: 9.625 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/0.7174, allocations: 0.9583 MB / 1.482 GB, free: 8.48 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004846/0.7223, allocations: 2.39 MB / 1.484 GB, free: 6.055 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002592/0.7248, allocations: 397 kB / 1.485 GB, free: 5.664 MB / 1.201 GB Notification: Performance of pre-optimization done (n=317): time 1.05e-05/0.7249, allocations: 0 / 1.485 GB, free: 5.664 MB / 1.201 GB Notification: Performance of matching and sorting (n=317): time 0.01596/0.7408, allocations: 7.159 MB / 1.492 GB, free: 14.41 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.7409, allocations: 89.84 kB / 1.492 GB, free: 14.31 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/0.7525, allocations: 5.671 MB / 1.497 GB, free: 8.664 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0007745/0.7533, allocations: 85.7 kB / 1.497 GB, free: 8.574 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.004381/0.7576, allocations: 3.275 MB / 1.501 GB, free: 5.277 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00225/0.7599, allocations: 1.17 MB / 1.502 GB, free: 4.098 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002736/0.7626, allocations: 0.8586 MB / 1.503 GB, free: 3.227 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7628, allocations: 301.1 kB / 1.503 GB, free: 2.93 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004418/0.7672, allocations: 2.167 MB / 1.505 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005782/0.773, allocations: 3.701 MB / 1.509 GB, free: 12.35 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/0.7837, allocations: 6.319 MB / 1.515 GB, free: 5.316 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-05/0.7837, allocations: 12 kB / 1.515 GB, free: 5.305 MB / 1.232 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01508/0.7988, allocations: 6.787 MB / 1.521 GB, free: 14.47 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 9.373e-05/0.7989, allocations: 61.75 kB / 1.521 GB, free: 14.4 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.159e-05/0.799, allocations: 48 kB / 1.521 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.8001, allocations: 439.5 kB / 1.522 GB, free: 13.92 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004241/0.8043, allocations: 1.002 MB / 1.523 GB, free: 12.92 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00723/0.8116, allocations: 5.704 MB / 1.528 GB, free: 6.945 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00628/0.8179, allocations: 279.7 kB / 1.529 GB, free: 6.672 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/0.819, allocations: 220 kB / 1.529 GB, free: 6.457 MB / 1.248 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.006241/0.8252, allocations: 2.491 MB / 1.531 GB, free: 3.953 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002438/0.8277, allocations: 0.5512 MB / 1.532 GB, free: 3.398 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.8398, allocations: 5.255 MB / 1.537 GB, free: 14.09 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00801/0.8478, allocations: 4.524 MB / 1.541 GB, free: 9.457 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.8478, allocations: 0 / 1.541 GB, free: 9.457 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003506/0.8513, allocations: 1.2 MB / 1.543 GB, free: 8.234 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001567/0.8529, allocations: 67.98 kB / 1.543 GB, free: 8.168 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003755/0.8566, allocations: 187.9 kB / 1.543 GB, free: 7.984 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000551/0.8572, allocations: 206.2 kB / 1.543 GB, free: 7.781 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01124/0.8684, allocations: 5.268 MB / 1.548 GB, free: 2.465 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.6103/1.479, allocations: 7.942 MB / 1.556 GB, free: 267.2 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003308/1.482, allocations: 2.07 MB / 1.558 GB, free: 266.5 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.005969/1.488, allocations: 3.961 MB / 1.562 GB, free: 265.2 MB / 1.264 GB Notification: Performance of Backend: time 4.31e-07/1.488, allocations: 0 / 1.562 GB, free: 265.2 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.008396/1.496, allocations: 3.905 MB / 1.566 GB, free: 263.7 MB / 1.264 GB Notification: Performance of SimCode: time 0.02845/1.525, allocations: 15.76 MB / 1.581 GB, free: 257.2 MB / 1.264 GB Notification: Performance of Templates: time 0.1545/1.679, allocations: 120.4 MB / 1.699 GB, free: 150.7 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches