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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.958/2.958, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.538e-05, allocations: 9.062 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07636/0.0764, allocations: 57.86 MB / 0.8429 GB, free: 2.809 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0309/0.1073, allocations: 18.67 MB / 0.8611 GB, free: 88 kB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.1099, allocations: 103.2 kB / 0.8612 GB, free: 15.98 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.1125, allocations: 0.9116 MB / 0.8621 GB, free: 15.07 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0078/0.1203, allocations: 2.742 MB / 0.8648 GB, free: 12.31 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004468/0.1247, allocations: 1.657 MB / 0.8664 GB, free: 10.65 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.03008/0.1548, allocations: 22.2 MB / 0.8881 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01367/0.1685, allocations: 7.392 MB / 0.8953 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02492/0.1934, allocations: 10.24 MB / 0.9053 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01411/0.2075, allocations: 6.577 MB / 0.9117 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002999/0.2105, allocations: 0.9375 MB / 0.9126 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006605/0.2171, allocations: 1.592 MB / 0.9142 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.003918/0.221, allocations: 2.523 MB / 0.9166 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.01038/0.2314, allocations: 3.356 MB / 0.9199 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.02257/0.254, allocations: 13.53 MB / 0.9331 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.254, allocations: 0 / 0.9331 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/0.254, allocations: 0 / 0.9331 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004704/0.2545, allocations: 0 / 0.9331 GB, free: 6.152 MB / 0.8855 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.02486/0.2793, allocations: 9.642 MB / 0.9426 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.2794, allocations: 8.031 kB / 0.9426 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.2843, allocations: 1.51 MB / 0.944 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/0.3003, allocations: 6.274 MB / 0.9502 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004756/0.3008, allocations: 456.6 kB / 0.9506 GB, free: 4.09 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/0.3028, allocations: 0.6175 MB / 0.9512 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/0.3237, allocations: 10.17 MB / 0.9611 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.3239, allocations: 19.83 kB / 0.9612 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008321/0.3247, allocations: 263.9 kB / 0.9614 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/0.3249, allocations: 176 kB / 0.9616 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.3394, allocations: 6.192 MB / 0.9676 GB, free: 1.973 MB / 0.9167 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.07446/0.4138, allocations: 49.59 MB / 1.016 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006684/0.4205, allocations: 3.511 MB / 1.019 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004838/0.4253, allocations: 2.632 MB / 1.022 GB, free: 7.523 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009603/0.4263, allocations: 202.3 kB / 1.022 GB, free: 7.324 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004756/0.431, allocations: 3.163 MB / 1.025 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002131/0.4332, allocations: 313.8 kB / 1.026 GB, free: 3.555 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=317): time 7.103e-06/0.4332, allocations: 0 / 1.026 GB, free: 3.555 MB / 0.9792 GB Notification: Performance of matching and sorting (n=317): time 0.01327/0.4465, allocations: 5.835 MB / 1.031 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.4465, allocations: 85.91 kB / 1.031 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/0.4568, allocations: 6.101 MB / 1.037 GB, free: 7.449 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005893/0.4574, allocations: 89.7 kB / 1.037 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004533/0.462, allocations: 3.726 MB / 1.041 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002163/0.4641, allocations: 1.279 MB / 1.042 GB, free: 2.32 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001889/0.466, allocations: 1.09 MB / 1.043 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002374/0.4662, allocations: 476.8 kB / 1.044 GB, free: 0.7461 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/0.4698, allocations: 1.712 MB / 1.046 GB, free: 15.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/0.4756, allocations: 4.195 MB / 1.05 GB, free: 9.844 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.4861, allocations: 6.34 MB / 1.056 GB, free: 2.535 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.301e-05/0.4861, allocations: 12 kB / 1.056 GB, free: 2.523 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.4197/0.9058, allocations: 6.055 MB / 1.062 GB, free: 287.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.9059, allocations: 55.33 kB / 1.062 GB, free: 287.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.43e-05/0.906, allocations: 50.59 kB / 1.062 GB, free: 287.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/0.9083, allocations: 0.5348 MB / 1.062 GB, free: 287.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/0.9122, allocations: 1.001 MB / 1.063 GB, free: 287.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005214/0.9174, allocations: 6.59 MB / 1.07 GB, free: 283.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/0.922, allocations: 282.7 kB / 1.07 GB, free: 283.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007391/0.9227, allocations: 214.5 kB / 1.07 GB, free: 283.4 MB / 1.01 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.004291/0.927, allocations: 2.188 MB / 1.072 GB, free: 283.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002299/0.9293, allocations: 0.5894 MB / 1.073 GB, free: 283.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00847/0.9378, allocations: 4.293 MB / 1.077 GB, free: 282.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/0.9378, allocations: 35.92 kB / 1.077 GB, free: 282.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/0.9378, allocations: 5.969 kB / 1.077 GB, free: 282.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00548/0.9433, allocations: 3.704 MB / 1.081 GB, free: 281.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0349/0.9782, allocations: 11.56 MB / 1.092 GB, free: 277.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.9782, allocations: 1.875 kB / 1.092 GB, free: 277.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/0.9816, allocations: 0.6359 MB / 1.093 GB, free: 277.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/0.9839, allocations: 481.6 kB / 1.093 GB, free: 277 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005838/0.9845, allocations: 79.94 kB / 1.093 GB, free: 276.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005714/0.9902, allocations: 6.507 MB / 1.1 GB, free: 271.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9902, allocations: 4.969 kB / 1.1 GB, free: 271.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.004, allocations: 6.565 MB / 1.106 GB, free: 269.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004234/1.008, allocations: 0.9706 MB / 1.107 GB, free: 268.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001577/1.009, allocations: 70.83 kB / 1.107 GB, free: 268.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003929/1.013, allocations: 182.9 kB / 1.107 GB, free: 268.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006599/1.014, allocations: 215.1 kB / 1.107 GB, free: 268.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005224/1.014, allocations: 141.9 kB / 1.108 GB, free: 268.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.007955/1.022, allocations: 3.487 MB / 1.111 GB, free: 267.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/1.022, allocations: 0 / 1.111 GB, free: 267.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.007936/1.03, allocations: 2.088 MB / 1.113 GB, free: 266.9 MB / 1.01 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.001652/1.032, allocations: 489.4 kB / 1.113 GB, free: 266.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009796/1.042, allocations: 4.992 MB / 1.118 GB, free: 264.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.042, allocations: 3.969 kB / 1.118 GB, free: 264.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00433/1.046, allocations: 2.367 MB / 1.121 GB, free: 263.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01609/1.062, allocations: 2.889 MB / 1.123 GB, free: 263.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02515/1.087, allocations: 12.69 MB / 1.136 GB, free: 255.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005667/1.093, allocations: 3.731 MB / 1.14 GB, free: 252.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006745/1.1, allocations: 1.529 MB / 1.141 GB, free: 251.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/1.102, allocations: 432.3 kB / 1.141 GB, free: 250.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.894e-06/1.102, allocations: 4 kB / 1.141 GB, free: 250.8 MB / 1.01 GB Notification: Performance of Templates: time 0.1395/1.241, allocations: 102.4 MB / 1.241 GB, free: 150.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.685942993033677]