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.001531/0.001531, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001838/0.001838, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 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.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7624/0.7638, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05487/0.8187, allocations: 56.01 MB / 1.222 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02302/0.8417, allocations: 17.95 MB / 1.24 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.8442, allocations: 75.56 kB / 1.24 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.847, allocations: 0.9236 MB / 1.24 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006909/0.8539, allocations: 2.617 MB / 1.243 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.8577, allocations: 1.535 MB / 1.245 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02259/0.8803, allocations: 21.28 MB / 1.265 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01546/0.8958, allocations: 10.69 MB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01334/0.9092, allocations: 7.241 MB / 1.283 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00987/0.9191, allocations: 6.354 MB / 1.289 GB, free: 6.746 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002938/0.9221, allocations: 0.9414 MB / 1.29 GB, free: 5.805 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00631/0.9284, allocations: 1.698 MB / 1.292 GB, free: 4.105 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003825/0.9322, allocations: 2.337 MB / 1.294 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00882/0.9411, allocations: 4.703 MB / 1.298 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.9571, allocations: 13.18 MB / 1.311 GB, free: 15.83 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9572, allocations: 0 / 1.311 GB, free: 15.83 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9572, allocations: 0 / 1.311 GB, free: 15.83 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004035/0.9576, allocations: 0 / 1.311 GB, free: 15.83 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.02079/0.9784, allocations: 8.522 MB / 1.32 GB, free: 7.211 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.9784, allocations: 8.031 kB / 1.32 GB, free: 7.203 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003806/0.9823, allocations: 0.8508 MB / 1.321 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/0.9961, allocations: 6.699 MB / 1.327 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004132/0.9965, allocations: 464.3 kB / 1.328 GB, free: 15.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/0.9985, allocations: 0.5937 MB / 1.328 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/1.02, allocations: 9.024 MB / 1.337 GB, free: 5.188 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002441/1.02, allocations: 31.78 kB / 1.337 GB, free: 5.156 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001735/1.022, allocations: 260 kB / 1.337 GB, free: 4.902 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/1.022, allocations: 180 kB / 1.337 GB, free: 4.727 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/1.039, allocations: 7.453 MB / 1.345 GB, free: 13.27 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.05464/1.093, allocations: 36 MB / 1.38 GB, free: 7.195 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006827/1.1, allocations: 4.278 MB / 1.384 GB, free: 2.91 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004815/1.105, allocations: 3.3 MB / 1.387 GB, free: 15.61 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/1.106, allocations: 0.9544 MB / 1.388 GB, free: 14.46 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004021/1.11, allocations: 2.394 MB / 1.39 GB, free: 12.04 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0022/1.113, allocations: 367.9 kB / 1.391 GB, free: 11.67 MB / 1.123 GB Notification: Performance of pre-optimization done (n=317): time 1.307e-05/1.113, allocations: 0 / 1.391 GB, free: 11.67 MB / 1.123 GB Notification: Performance of matching and sorting (n=317): time 0.01311/1.126, allocations: 7.129 MB / 1.398 GB, free: 4.453 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.126, allocations: 93.91 kB / 1.398 GB, free: 4.348 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009676/1.136, allocations: 5.662 MB / 1.403 GB, free: 14.71 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003862/1.136, allocations: 85.7 kB / 1.403 GB, free: 14.62 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.003126/1.139, allocations: 3.2 MB / 1.407 GB, free: 11.38 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.14, allocations: 1.117 MB / 1.408 GB, free: 10.25 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/1.142, allocations: 0.858 MB / 1.409 GB, free: 9.379 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/1.142, allocations: 305.1 kB / 1.409 GB, free: 9.078 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/1.145, allocations: 2.163 MB / 1.411 GB, free: 6.906 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004472/1.15, allocations: 3.693 MB / 1.415 GB, free: 2.516 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00814/1.158, allocations: 6.323 MB / 1.421 GB, free: 11.48 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.046e-05/1.158, allocations: 16 kB / 1.421 GB, free: 11.46 MB / 1.154 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01161/1.17, allocations: 6.772 MB / 1.427 GB, free: 4.637 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/1.17, allocations: 57.69 kB / 1.427 GB, free: 4.574 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.4e-05/1.17, allocations: 48 kB / 1.427 GB, free: 4.527 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.171, allocations: 435.8 kB / 1.428 GB, free: 4.098 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/1.175, allocations: 1.006 MB / 1.429 GB, free: 3.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005963/1.181, allocations: 5.71 MB / 1.434 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004434/1.185, allocations: 283.5 kB / 1.435 GB, free: 12.83 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000543/1.186, allocations: 220 kB / 1.435 GB, free: 12.61 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.004402/1.19, allocations: 2.475 MB / 1.437 GB, free: 10.12 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001747/1.192, allocations: 0.5287 MB / 1.438 GB, free: 9.59 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0095/1.201, allocations: 5.27 MB / 1.443 GB, free: 4.262 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006768/1.208, allocations: 4.532 MB / 1.447 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.208, allocations: 0 / 1.447 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00338/1.212, allocations: 1.174 MB / 1.449 GB, free: 14.42 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/1.213, allocations: 71.92 kB / 1.449 GB, free: 14.35 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003734/1.217, allocations: 191.7 kB / 1.449 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000476/1.217, allocations: 206.2 kB / 1.449 GB, free: 13.96 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01037/1.228, allocations: 5.258 MB / 1.454 GB, free: 8.656 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01184/1.24, allocations: 7.923 MB / 1.462 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003003/1.243, allocations: 2.221 MB / 1.464 GB, free: 14.43 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.007527/1.25, allocations: 3.971 MB / 1.468 GB, free: 10.48 MB / 1.201 GB Notification: Performance of Backend: time 7.01e-07/1.25, allocations: 0 / 1.468 GB, free: 10.48 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.261, allocations: 4.106 MB / 1.472 GB, free: 6.344 MB / 1.201 GB Notification: Performance of SimCode: time 0.03541/1.296, allocations: 15.45 MB / 1.487 GB, free: 6.926 MB / 1.217 GB Notification: Performance of Templates: time 0.7065/2.003, allocations: 118.2 MB / 1.602 GB, free: 338.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