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.001265/0.001265, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001376/0.001376, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.824/2.824, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) [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.001958/0.001958, allocations: 65.94 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05854/1.117, allocations: 56.75 MB / 1.377 GB, free: 112 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02788/1.145, allocations: 18.08 MB / 1.395 GB, free: 3.156 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003821/1.149, allocations: 104.8 kB / 1.395 GB, free: 3.102 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003377/1.152, allocations: 0.9224 MB / 1.396 GB, free: 2.543 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009/1.161, allocations: 2.619 MB / 1.398 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004709/1.166, allocations: 1.537 MB / 1.4 GB, free: 116 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02695/1.193, allocations: 21.26 MB / 1.42 GB, free: 5.961 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01419/1.207, allocations: 8.882 MB / 1.429 GB, free: 2.23 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01762/1.225, allocations: 7.513 MB / 1.436 GB, free: 14.51 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/1.238, allocations: 6.58 MB / 1.443 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00336/1.241, allocations: 0.9382 MB / 1.444 GB, free: 10.48 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00853/1.25, allocations: 1.749 MB / 1.445 GB, free: 10.03 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004827/1.255, allocations: 2.444 MB / 1.448 GB, free: 8.125 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01145/1.266, allocations: 4.725 MB / 1.452 GB, free: 3.41 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01813/1.284, allocations: 13.31 MB / 1.465 GB, free: 6.055 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.284, allocations: 0 / 1.465 GB, free: 6.055 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.694e-06/1.284, allocations: 0 / 1.465 GB, free: 6.055 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003822/1.285, allocations: 0 / 1.465 GB, free: 6.055 MB / 1.139 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.01964/1.304, allocations: 8.709 MB / 1.474 GB, free: 13.24 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.304, allocations: 15.98 kB / 1.474 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001642/1.305, allocations: 156.4 kB / 1.474 GB, free: 13.07 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001454/1.306, allocations: 0.8538 MB / 1.475 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/1.309, allocations: 0.9527 MB / 1.476 GB, free: 11.25 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/1.323, allocations: 6.761 MB / 1.482 GB, free: 4.434 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005298/1.323, allocations: 460.2 kB / 1.483 GB, free: 3.98 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002548/1.326, allocations: 0.5937 MB / 1.483 GB, free: 3.387 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/1.344, allocations: 9.036 MB / 1.492 GB, free: 10.03 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/1.344, allocations: 19.83 kB / 1.492 GB, free: 10.01 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006983/1.344, allocations: 268 kB / 1.493 GB, free: 9.746 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/1.345, allocations: 179.9 kB / 1.493 GB, free: 9.57 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/1.358, allocations: 7.461 MB / 1.5 GB, free: 2.102 MB / 1.17 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.05831/1.416, allocations: 36.11 MB / 1.535 GB, free: 11.94 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007269/1.424, allocations: 3.991 MB / 1.539 GB, free: 7.949 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005194/1.429, allocations: 3.043 MB / 1.542 GB, free: 4.898 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/1.43, allocations: 0.9544 MB / 1.543 GB, free: 3.758 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004537/1.435, allocations: 2.394 MB / 1.545 GB, free: 1.328 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004372/1.439, allocations: 393 kB / 1.546 GB, free: 0.9414 MB / 1.217 GB Notification: Performance of pre-optimization done (n=317): time 2.37e-05/1.439, allocations: 4 kB / 1.546 GB, free: 0.9375 MB / 1.217 GB Notification: Performance of matching and sorting (n=317): time 0.018/1.457, allocations: 7.151 MB / 1.553 GB, free: 9.699 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/1.457, allocations: 89.91 kB / 1.553 GB, free: 9.598 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/1.469, allocations: 5.667 MB / 1.558 GB, free: 3.953 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0008265/1.47, allocations: 85.7 kB / 1.559 GB, free: 3.863 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.003792/1.474, allocations: 3.271 MB / 1.562 GB, free: 0.5664 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002123/1.476, allocations: 1.17 MB / 1.563 GB, free: 15.38 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/1.477, allocations: 0.8585 MB / 1.564 GB, free: 14.51 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.477, allocations: 312.8 kB / 1.564 GB, free: 14.21 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003729/1.481, allocations: 2.167 MB / 1.566 GB, free: 12.03 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005124/1.486, allocations: 3.697 MB / 1.57 GB, free: 7.637 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009467/1.496, allocations: 6.315 MB / 1.576 GB, free: 0.6055 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.742e-05/1.496, allocations: 12 kB / 1.576 GB, free: 0.5938 MB / 1.248 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01242/1.508, allocations: 6.786 MB / 1.583 GB, free: 9.758 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.74e-05/1.508, allocations: 61.69 kB / 1.583 GB, free: 9.691 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.519e-05/1.508, allocations: 51.98 kB / 1.583 GB, free: 9.641 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/1.509, allocations: 436.5 kB / 1.583 GB, free: 9.211 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003586/1.513, allocations: 1.006 MB / 1.584 GB, free: 8.203 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0063/1.519, allocations: 5.708 MB / 1.59 GB, free: 2.215 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004569/1.524, allocations: 287.7 kB / 1.59 GB, free: 1.934 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005949/1.524, allocations: 216 kB / 1.59 GB, free: 1.723 MB / 1.264 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.004308/1.529, allocations: 2.482 MB / 1.592 GB, free: 15.23 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001517/1.53, allocations: 0.5551 MB / 1.593 GB, free: 14.67 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009336/1.539, allocations: 5.259 MB / 1.598 GB, free: 9.355 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/1.54, allocations: 32 kB / 1.598 GB, free: 9.324 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.54, allocations: 4 kB / 1.598 GB, free: 9.32 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006959/1.546, allocations: 4.516 MB / 1.603 GB, free: 4.699 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02339/1.57, allocations: 11.96 MB / 1.614 GB, free: 8.598 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.57, allocations: 4 kB / 1.614 GB, free: 8.594 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002915/1.573, allocations: 0.6475 MB / 1.615 GB, free: 7.945 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009058/1.574, allocations: 373.3 kB / 1.615 GB, free: 7.574 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/1.574, allocations: 83.95 kB / 1.615 GB, free: 7.492 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/1.58, allocations: 5.622 MB / 1.621 GB, free: 1.598 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.58, allocations: 7.938 kB / 1.621 GB, free: 1.59 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/1.594, allocations: 7.776 MB / 1.628 GB, free: 9.719 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003538/1.598, allocations: 1.185 MB / 1.63 GB, free: 8.512 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001385/1.599, allocations: 67.98 kB / 1.63 GB, free: 8.445 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/1.602, allocations: 192 kB / 1.63 GB, free: 8.258 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004705/1.603, allocations: 202.2 kB / 1.63 GB, free: 8.059 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003594/1.603, allocations: 135.9 kB / 1.63 GB, free: 7.926 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.007268/1.61, allocations: 3.963 MB / 1.634 GB, free: 3.984 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.1e-07/1.61, allocations: 4 kB / 1.634 GB, free: 3.98 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.007955/1.618, allocations: 2.031 MB / 1.636 GB, free: 1.945 MB / 1.311 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.01416/1.633, allocations: 8.708 MB / 1.645 GB, free: 9.133 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.00932/1.642, allocations: 5.24 MB / 1.65 GB, free: 3.84 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.642, allocations: 1 kB / 1.65 GB, free: 3.84 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.004115/1.646, allocations: 2.377 MB / 1.652 GB, free: 1.434 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01643/1.662, allocations: 3.393 MB / 1.655 GB, free: 14.14 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09191/1.754, allocations: 52.55 MB / 1.707 GB, free: 7.434 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006393/1.761, allocations: 4.624 MB / 1.711 GB, free: 2.777 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.006739/1.768, allocations: 2.078 MB / 1.713 GB, free: 0.7031 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005152/1.773, allocations: 2.678 MB / 1.716 GB, free: 14.02 MB / 1.404 GB Notification: Performance of SimCode: time 1.372e-06/1.773, allocations: 0 / 1.716 GB, free: 14.02 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.02/2.793, allocations: 160.5 MB / 1.873 GB, free: 472.2 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.12/23.92, allocations: 5.969 kB / 1.873 GB, free: 472.2 MB / 1.545 GB " [Timeout remaining time 276] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 420.0] 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: 30.910174255026504]