Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001334/0.001334, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001461/0.001461, allocations: 210.9 kB / 22.99 MB, free: 4.953 MB / 14.72 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.187/3.187, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 69.61 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3728, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05865/0.4315, allocations: 51.67 MB / 1.378 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02517/0.4566, allocations: 16.84 MB / 1.394 GB, free: 12.26 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003051/0.4597, allocations: 99.19 kB / 1.394 GB, free: 12.16 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/0.4623, allocations: 0.8963 MB / 1.395 GB, free: 11.26 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007656/0.47, allocations: 2.67 MB / 1.398 GB, free: 8.574 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004009/0.474, allocations: 1.59 MB / 1.399 GB, free: 6.992 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02351/0.4975, allocations: 21.82 MB / 1.42 GB, free: 1.113 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/0.5084, allocations: 7.121 MB / 1.427 GB, free: 9.871 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01608/0.5245, allocations: 7.577 MB / 1.435 GB, free: 2.312 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/0.5364, allocations: 6.58 MB / 1.441 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002963/0.5394, allocations: 0.9413 MB / 1.442 GB, free: 10.77 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006609/0.546, allocations: 1.589 MB / 1.444 GB, free: 9.176 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00385/0.5499, allocations: 2.43 MB / 1.446 GB, free: 6.738 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00842/0.5583, allocations: 3.879 MB / 1.45 GB, free: 2.844 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01725/0.5755, allocations: 13.35 MB / 1.463 GB, free: 5.449 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.5755, allocations: 0 / 1.463 GB, free: 5.449 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5755, allocations: 0 / 1.463 GB, free: 5.449 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004288/0.576, allocations: 0 / 1.463 GB, free: 5.449 MB / 1.154 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.02269/0.5987, allocations: 8.649 MB / 1.471 GB, free: 12.71 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.5987, allocations: 8.031 kB / 1.471 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003899/0.6026, allocations: 0.9489 MB / 1.472 GB, free: 11.75 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/0.6183, allocations: 6.781 MB / 1.479 GB, free: 4.895 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004619/0.6188, allocations: 464.3 kB / 1.479 GB, free: 4.438 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.6208, allocations: 0.6014 MB / 1.48 GB, free: 3.836 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.6404, allocations: 10.1 MB / 1.49 GB, free: 9.156 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001514/0.6406, allocations: 27.83 kB / 1.49 GB, free: 9.129 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007565/0.6413, allocations: 260 kB / 1.49 GB, free: 8.875 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/0.6415, allocations: 183.9 kB / 1.49 GB, free: 8.695 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.6559, allocations: 7.445 MB / 1.497 GB, free: 1.242 MB / 1.186 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.04727/0.7032, allocations: 26.36 MB / 1.523 GB, free: 6.434 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006727/0.7099, allocations: 3.972 MB / 1.527 GB, free: 2.457 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004829/0.7148, allocations: 3.018 MB / 1.53 GB, free: 15.43 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.7158, allocations: 210.2 kB / 1.53 GB, free: 15.22 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004555/0.7203, allocations: 3.46 MB / 1.534 GB, free: 11.47 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002298/0.7226, allocations: 321.8 kB / 1.534 GB, free: 11.15 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 6.001e-06/0.7226, allocations: 0 / 1.534 GB, free: 11.15 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01317/0.7358, allocations: 6.942 MB / 1.541 GB, free: 4.16 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.7359, allocations: 93.84 kB / 1.541 GB, free: 4.055 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007796/0.7437, allocations: 4.981 MB / 1.546 GB, free: 15.07 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0006344/0.7443, allocations: 89.7 kB / 1.546 GB, free: 14.98 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.00336/0.7477, allocations: 3.271 MB / 1.549 GB, free: 11.68 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.7493, allocations: 1.178 MB / 1.55 GB, free: 10.5 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.7506, allocations: 0.8624 MB / 1.551 GB, free: 9.621 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7507, allocations: 301.1 kB / 1.551 GB, free: 9.324 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/0.7543, allocations: 2.189 MB / 1.553 GB, free: 7.121 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004807/0.7591, allocations: 3.826 MB / 1.557 GB, free: 2.562 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00867/0.7677, allocations: 6.327 MB / 1.563 GB, free: 11.52 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-05/0.7678, allocations: 16 kB / 1.563 GB, free: 11.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01186/0.7796, allocations: 6.754 MB / 1.57 GB, free: 4.695 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 7.763e-05/0.7797, allocations: 57.69 kB / 1.57 GB, free: 4.633 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.406e-05/0.7798, allocations: 48 kB / 1.57 GB, free: 4.586 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.7808, allocations: 439 kB / 1.57 GB, free: 4.152 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/0.7846, allocations: 1.002 MB / 1.571 GB, free: 3.148 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00629/0.7909, allocations: 5.371 MB / 1.577 GB, free: 13.58 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004461/0.7954, allocations: 279.6 kB / 1.577 GB, free: 13.31 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005678/0.7959, allocations: 219.9 kB / 1.577 GB, free: 13.09 MB / 1.279 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.004593/0.8005, allocations: 2.48 MB / 1.58 GB, free: 10.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/0.8019, allocations: 0.4891 MB / 1.58 GB, free: 10.11 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009249/0.8112, allocations: 5.21 MB / 1.585 GB, free: 4.84 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/0.8112, allocations: 32 kB / 1.585 GB, free: 4.809 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.8112, allocations: 4 kB / 1.585 GB, free: 4.805 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007026/0.8182, allocations: 4.524 MB / 1.59 GB, free: 180 kB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/0.8403, allocations: 10.44 MB / 1.6 GB, free: 5.621 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.8403, allocations: 3.938 kB / 1.6 GB, free: 5.617 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/0.8433, allocations: 0.6438 MB / 1.6 GB, free: 4.973 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009106/0.8442, allocations: 369.4 kB / 1.601 GB, free: 4.605 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/0.8445, allocations: 83.95 kB / 1.601 GB, free: 4.523 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7055/1.55, allocations: 5.275 MB / 1.606 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.55, allocations: 1.688 kB / 1.606 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.562, allocations: 7.679 MB / 1.613 GB, free: 255.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003213/1.565, allocations: 1.077 MB / 1.615 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007081/1.566, allocations: 64.52 kB / 1.615 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/1.569, allocations: 195.2 kB / 1.615 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/1.569, allocations: 210.6 kB / 1.615 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002974/1.57, allocations: 142.1 kB / 1.615 GB, free: 255 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005928/1.576, allocations: 3.384 MB / 1.618 GB, free: 253.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.576, allocations: 0 / 1.618 GB, free: 253.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.006451/1.582, allocations: 2.096 MB / 1.62 GB, free: 253.8 MB / 1.295 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.001041/1.583, allocations: 481.8 kB / 1.621 GB, free: 253.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00814/1.591, allocations: 5.26 MB / 1.626 GB, free: 251.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.591, allocations: 7 kB / 1.626 GB, free: 251.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003458/1.595, allocations: 2.367 MB / 1.628 GB, free: 250.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01161/1.606, allocations: 2.77 MB / 1.631 GB, free: 250.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/1.626, allocations: 13.98 MB / 1.645 GB, free: 244.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003092/1.629, allocations: 4.144 MB / 1.649 GB, free: 243 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005038/1.634, allocations: 1.862 MB / 1.651 GB, free: 242.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.635, allocations: 434.6 kB / 1.651 GB, free: 242.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.253e-06/1.635, allocations: 0 / 1.651 GB, free: 242.7 MB / 1.295 GB Notification: Performance of Templates: time 0.1393/1.775, allocations: 114.9 MB / 1.763 GB, free: 130.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.26365418700152]