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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 112.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 186.5 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.771/2.771, allocations: 443.4 MB / 0.7321 GB, free: 12.45 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.88 kB / 1.061 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 160.8 MB / 1.218 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06657/1.11, allocations: 56.95 MB / 1.274 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03127/1.141, allocations: 18.16 MB / 1.292 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004145/1.145, allocations: 111.1 kB / 1.292 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003368/1.149, allocations: 0.9197 MB / 1.293 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009571/1.158, allocations: 2.667 MB / 1.295 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005072/1.163, allocations: 1.606 MB / 1.297 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0261/1.19, allocations: 21.87 MB / 1.318 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/1.202, allocations: 7.088 MB / 1.325 GB, free: 9.547 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01921/1.221, allocations: 7.35 MB / 1.332 GB, free: 2.219 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01495/1.236, allocations: 6.674 MB / 1.339 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00436/1.241, allocations: 0.9375 MB / 1.34 GB, free: 10.58 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009867/1.25, allocations: 1.733 MB / 1.342 GB, free: 8.848 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006239/1.257, allocations: 2.434 MB / 1.344 GB, free: 6.406 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.01428/1.271, allocations: 4.707 MB / 1.349 GB, free: 1.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02634/1.297, allocations: 13.23 MB / 1.361 GB, free: 4.402 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/1.297, allocations: 0 / 1.361 GB, free: 4.402 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.725e-06/1.297, allocations: 0 / 1.361 GB, free: 4.402 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0006362/1.298, allocations: 0 / 1.361 GB, free: 4.402 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.03065/1.329, allocations: 8.697 MB / 1.37 GB, free: 11.6 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.329, allocations: 12.03 kB / 1.37 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005477/1.334, allocations: 0.8981 MB / 1.371 GB, free: 10.69 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0184/1.353, allocations: 6.76 MB / 1.377 GB, free: 3.871 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006081/1.353, allocations: 464.4 kB / 1.378 GB, free: 3.414 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00289/1.356, allocations: 0.5976 MB / 1.378 GB, free: 2.816 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03169/1.388, allocations: 9.036 MB / 1.387 GB, free: 9.453 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003851/1.388, allocations: 23.81 kB / 1.387 GB, free: 9.43 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002588/1.391, allocations: 264 kB / 1.388 GB, free: 9.172 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/1.391, allocations: 180 kB / 1.388 GB, free: 8.996 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/1.411, allocations: 7.461 MB / 1.395 GB, free: 1.527 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.07123/1.483, allocations: 36.09 MB / 1.43 GB, free: 11.38 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008201/1.491, allocations: 3.998 MB / 1.434 GB, free: 7.383 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006285/1.497, allocations: 3.027 MB / 1.437 GB, free: 4.348 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/1.499, allocations: 0.9544 MB / 1.438 GB, free: 3.207 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006208/1.505, allocations: 2.398 MB / 1.44 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00357/1.509, allocations: 405 kB / 1.441 GB, free: 384 kB / 1.139 GB Notification: Performance of pre-optimization done (n=317): time 1.349e-05/1.509, allocations: 0 / 1.441 GB, free: 384 kB / 1.139 GB Notification: Performance of matching and sorting (n=317): time 0.01633/1.525, allocations: 7.139 MB / 1.448 GB, free: 9.145 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/1.525, allocations: 89.84 kB / 1.448 GB, free: 9.043 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/1.539, allocations: 5.682 MB / 1.453 GB, free: 3.383 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0008397/1.539, allocations: 85.7 kB / 1.453 GB, free: 3.293 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.004568/1.544, allocations: 3.275 MB / 1.457 GB, free: 15.99 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.002155/1.546, allocations: 1.17 MB / 1.458 GB, free: 14.82 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002614/1.549, allocations: 0.8624 MB / 1.459 GB, free: 13.94 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.549, allocations: 313.1 kB / 1.459 GB, free: 13.63 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004396/1.553, allocations: 2.156 MB / 1.461 GB, free: 11.47 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00597/1.559, allocations: 3.697 MB / 1.465 GB, free: 7.07 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.57, allocations: 6.319 MB / 1.471 GB, free: 36 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.893e-05/1.57, allocations: 16 kB / 1.471 GB, free: 20 kB / 1.17 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01555/1.586, allocations: 6.782 MB / 1.477 GB, free: 9.188 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 9.602e-05/1.586, allocations: 57.69 kB / 1.478 GB, free: 9.125 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/1.586, allocations: 48 kB / 1.478 GB, free: 9.078 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/1.587, allocations: 437.9 kB / 1.478 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/1.591, allocations: 1.002 MB / 1.479 GB, free: 7.641 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/1.598, allocations: 5.718 MB / 1.485 GB, free: 1.645 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/1.604, allocations: 287.7 kB / 1.485 GB, free: 1.363 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009545/1.605, allocations: 216 kB / 1.485 GB, free: 1.152 MB / 1.186 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.006512/1.612, allocations: 2.479 MB / 1.487 GB, free: 14.66 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002575/1.614, allocations: 0.5551 MB / 1.488 GB, free: 14.1 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.627, allocations: 5.255 MB / 1.493 GB, free: 8.789 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/1.627, allocations: 36.17 kB / 1.493 GB, free: 8.754 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/1.627, allocations: 4 kB / 1.493 GB, free: 8.75 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008429/1.636, allocations: 4.524 MB / 1.498 GB, free: 4.121 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02991/1.666, allocations: 11.98 MB / 1.509 GB, free: 7.988 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.666, allocations: 0 / 1.509 GB, free: 7.988 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003209/1.669, allocations: 0.6438 MB / 1.51 GB, free: 7.344 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001075/1.67, allocations: 375.7 kB / 1.51 GB, free: 6.973 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000439/1.671, allocations: 79.95 kB / 1.51 GB, free: 6.895 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007076/1.678, allocations: 5.617 MB / 1.516 GB, free: 1.008 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.678, allocations: 0 / 1.516 GB, free: 1.008 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01637/1.694, allocations: 7.787 MB / 1.523 GB, free: 9.125 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004727/1.699, allocations: 1.185 MB / 1.525 GB, free: 7.918 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001751/1.7, allocations: 67.92 kB / 1.525 GB, free: 7.852 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004134/1.705, allocations: 203.9 kB / 1.525 GB, free: 7.652 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005406/1.705, allocations: 214.1 kB / 1.525 GB, free: 7.441 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004969/1.706, allocations: 135.9 kB / 1.525 GB, free: 7.309 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.009335/1.715, allocations: 3.967 MB / 1.529 GB, free: 3.363 MB / 1.233 GB Notification: Performance of sort global known variables: time 1.1e-07/1.715, allocations: 4 kB / 1.529 GB, free: 3.359 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.008116/1.723, allocations: 2.02 MB / 1.531 GB, free: 1.336 MB / 1.233 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001607/1.725, allocations: 495.5 kB / 1.532 GB, free: 0.8516 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.01052/1.735, allocations: 5.241 MB / 1.537 GB, free: 11.56 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.735, allocations: 0.9375 kB / 1.537 GB, free: 11.56 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004379/1.74, allocations: 2.381 MB / 1.539 GB, free: 9.148 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01804/1.758, allocations: 3.39 MB / 1.542 GB, free: 5.848 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04034/1.798, allocations: 14.17 MB / 1.556 GB, free: 7.605 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008737/1.807, allocations: 4.628 MB / 1.561 GB, free: 2.945 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.01308/1.82, allocations: 2.081 MB / 1.563 GB, free: 0.8672 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003249/1.823, allocations: 471.2 kB / 1.563 GB, free: 416 kB / 1.264 GB Notification: Performance of SimCode: time 1.152e-06/1.823, allocations: 4 kB / 1.563 GB, free: 412 kB / 1.264 GB Notification: Performance of Templates: time 1.001/2.824, allocations: 120.8 MB / 1.681 GB, free: 314.5 MB / 1.311 GB " [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.51179126277566]