Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001758/0.001758, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001984/0.001984, allocations: 189.5 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.534/2.534, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7326, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05542/0.788, allocations: 56.01 MB / 1.263 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02248/0.8105, allocations: 17.95 MB / 1.281 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.8129, allocations: 75.56 kB / 1.281 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002604/0.8156, allocations: 0.9158 MB / 1.282 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006499/0.8221, allocations: 2.616 MB / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.8257, allocations: 1.539 MB / 1.286 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02027/0.846, allocations: 21.28 MB / 1.306 GB, free: 8.965 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.8595, allocations: 10.68 MB / 1.317 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01327/0.8728, allocations: 7.245 MB / 1.324 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009865/0.8827, allocations: 6.35 MB / 1.33 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002678/0.8853, allocations: 0.9375 MB / 1.331 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/0.8911, allocations: 1.706 MB / 1.333 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00389/0.895, allocations: 2.337 MB / 1.335 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00934/0.9043, allocations: 4.707 MB / 1.34 GB, free: 6.848 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.9202, allocations: 13.18 MB / 1.352 GB, free: 9.637 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.9202, allocations: 0 / 1.352 GB, free: 9.637 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.226e-06/0.9202, allocations: 0 / 1.352 GB, free: 9.637 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0006123/0.9208, allocations: 0 / 1.352 GB, free: 9.637 MB / 1.076 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.02012/0.941, allocations: 8.514 MB / 1.361 GB, free: 1.027 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.941, allocations: 12.03 kB / 1.361 GB, free: 1.016 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.9436, allocations: 0.8586 MB / 1.362 GB, free: 152 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.9546, allocations: 6.687 MB / 1.368 GB, free: 9.402 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002989/0.9549, allocations: 464.3 kB / 1.369 GB, free: 8.945 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000967/0.9559, allocations: 0.6014 MB / 1.369 GB, free: 8.344 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.9699, allocations: 9.032 MB / 1.378 GB, free: 14.99 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.97, allocations: 23.78 kB / 1.378 GB, free: 14.96 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006336/0.9707, allocations: 260 kB / 1.378 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.9708, allocations: 180 kB / 1.378 GB, free: 14.54 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.9827, allocations: 7.449 MB / 1.386 GB, free: 7.078 MB / 1.107 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.04468/1.027, allocations: 36 MB / 1.421 GB, free: 1.016 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00609/1.034, allocations: 4.295 MB / 1.425 GB, free: 12.73 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004519/1.038, allocations: 3.294 MB / 1.428 GB, free: 9.43 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/1.039, allocations: 0.9583 MB / 1.429 GB, free: 8.285 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003796/1.043, allocations: 2.382 MB / 1.432 GB, free: 5.867 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001994/1.045, allocations: 367.8 kB / 1.432 GB, free: 5.504 MB / 1.154 GB Notification: Performance of pre-optimization done (n=317): time 1.143e-05/1.045, allocations: 0 / 1.432 GB, free: 5.504 MB / 1.154 GB Notification: Performance of matching and sorting (n=317): time 0.01243/1.058, allocations: 7.136 MB / 1.439 GB, free: 14.27 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/1.058, allocations: 89.89 kB / 1.439 GB, free: 14.17 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008649/1.066, allocations: 5.666 MB / 1.444 GB, free: 8.527 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003473/1.067, allocations: 89.7 kB / 1.445 GB, free: 8.434 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002822/1.07, allocations: 3.196 MB / 1.448 GB, free: 5.207 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001164/1.071, allocations: 1.121 MB / 1.449 GB, free: 4.07 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/1.072, allocations: 0.8541 MB / 1.45 GB, free: 3.203 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 9.36e-05/1.072, allocations: 309.1 kB / 1.45 GB, free: 2.898 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/1.076, allocations: 2.163 MB / 1.452 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004221/1.08, allocations: 3.693 MB / 1.456 GB, free: 12.33 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008007/1.088, allocations: 6.323 MB / 1.462 GB, free: 5.285 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.525e-05/1.088, allocations: 12 kB / 1.462 GB, free: 5.273 MB / 1.186 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01112/1.099, allocations: 6.776 MB / 1.468 GB, free: 14.45 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/1.099, allocations: 49.7 kB / 1.468 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.618e-05/1.099, allocations: 52 kB / 1.469 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009818/1.1, allocations: 444 kB / 1.469 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003667/1.104, allocations: 0.9984 MB / 1.47 GB, free: 12.9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005817/1.11, allocations: 5.702 MB / 1.476 GB, free: 6.926 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004457/1.114, allocations: 287.3 kB / 1.476 GB, free: 6.645 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005267/1.115, allocations: 223.9 kB / 1.476 GB, free: 6.426 MB / 1.201 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.004112/1.119, allocations: 2.475 MB / 1.478 GB, free: 3.938 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.12, allocations: 0.5326 MB / 1.479 GB, free: 3.398 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008801/1.129, allocations: 5.274 MB / 1.484 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006476/1.136, allocations: 4.524 MB / 1.489 GB, free: 9.438 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.136, allocations: 4 kB / 1.489 GB, free: 9.434 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002628/1.138, allocations: 1.178 MB / 1.49 GB, free: 8.23 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/1.139, allocations: 67.92 kB / 1.49 GB, free: 8.164 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003271/1.143, allocations: 183.8 kB / 1.49 GB, free: 7.984 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/1.143, allocations: 210.2 kB / 1.49 GB, free: 7.777 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009576/1.153, allocations: 5.255 MB / 1.495 GB, free: 2.477 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01092/1.164, allocations: 7.923 MB / 1.503 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002811/1.166, allocations: 2.233 MB / 1.505 GB, free: 8.234 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.006397/1.173, allocations: 3.959 MB / 1.509 GB, free: 4.297 MB / 1.232 GB Notification: Performance of Backend: time 6.01e-07/1.173, allocations: 0 / 1.509 GB, free: 4.297 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008615/1.181, allocations: 4.119 MB / 1.513 GB, free: 156 kB / 1.232 GB Notification: Performance of SimCode: time 0.02933/1.211, allocations: 15.43 MB / 1.528 GB, free: 0.75 MB / 1.248 GB Notification: Performance of Templates: time 0.7349/1.946, allocations: 118.2 MB / 1.644 GB, free: 271.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches