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.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.001766/0.001766, allocations: 112.1 kB / 16.46 MB, free: 6.504 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.001957/0.001957, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.526/1.526, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3/3, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06591/1.132, allocations: 56.41 MB / 1.324 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02902/1.161, allocations: 18.04 MB / 1.341 GB, free: 10.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004008/1.165, allocations: 75.56 kB / 1.342 GB, free: 10.4 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003699/1.169, allocations: 0.9274 MB / 1.342 GB, free: 9.469 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00961/1.179, allocations: 2.62 MB / 1.345 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005681/1.184, allocations: 1.534 MB / 1.346 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02851/1.213, allocations: 21.24 MB / 1.367 GB, free: 16 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0158/1.229, allocations: 8.878 MB / 1.376 GB, free: 7.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01769/1.246, allocations: 7.231 MB / 1.383 GB, free: 15.81 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01344/1.26, allocations: 6.658 MB / 1.389 GB, free: 9.125 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003639/1.264, allocations: 0.9375 MB / 1.39 GB, free: 8.188 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007396/1.271, allocations: 1.725 MB / 1.392 GB, free: 6.461 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005141/1.276, allocations: 2.437 MB / 1.394 GB, free: 4.016 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01249/1.289, allocations: 4.707 MB / 1.399 GB, free: 15.29 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.03164/1.32, allocations: 13.22 MB / 1.412 GB, free: 2.023 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/1.32, allocations: 0 / 1.412 GB, free: 2.023 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.735e-06/1.32, allocations: 0 / 1.412 GB, free: 2.023 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0006046/1.321, allocations: 4 kB / 1.412 GB, free: 2.02 MB / 1.107 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.02836/1.349, allocations: 8.705 MB / 1.42 GB, free: 9.207 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/1.349, allocations: 8.031 kB / 1.42 GB, free: 9.199 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003993/1.353, allocations: 0.8422 MB / 1.421 GB, free: 8.348 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005543/1.359, allocations: 0.8942 MB / 1.422 GB, free: 7.449 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/1.376, allocations: 6.747 MB / 1.429 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005552/1.377, allocations: 464.2 kB / 1.429 GB, free: 196 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002682/1.379, allocations: 0.6015 MB / 1.43 GB, free: 15.59 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02593/1.405, allocations: 9.032 MB / 1.439 GB, free: 6.234 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000288/1.405, allocations: 23.88 kB / 1.439 GB, free: 6.211 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002405/1.408, allocations: 263.9 kB / 1.439 GB, free: 5.953 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/1.408, allocations: 179.9 kB / 1.439 GB, free: 5.777 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02138/1.43, allocations: 7.469 MB / 1.446 GB, free: 14.3 MB / 1.154 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.07129/1.501, allocations: 36.07 MB / 1.482 GB, free: 8.176 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007742/1.509, allocations: 4.007 MB / 1.485 GB, free: 4.156 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005822/1.514, allocations: 3.032 MB / 1.488 GB, free: 1.117 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/1.516, allocations: 0.9583 MB / 1.489 GB, free: 15.97 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005341/1.521, allocations: 2.398 MB / 1.492 GB, free: 13.54 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004276/1.526, allocations: 389.1 kB / 1.492 GB, free: 13.16 MB / 1.201 GB Notification: Performance of pre-optimization done (n=317): time 3.085e-05/1.526, allocations: 0 / 1.492 GB, free: 13.16 MB / 1.201 GB Notification: Performance of matching and sorting (n=317): time 0.01929/1.545, allocations: 7.155 MB / 1.499 GB, free: 5.914 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/1.545, allocations: 89.91 kB / 1.499 GB, free: 5.812 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01319/1.558, allocations: 5.667 MB / 1.505 GB, free: 172 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001557/1.56, allocations: 89.7 kB / 1.505 GB, free: 76 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.006662/1.566, allocations: 3.271 MB / 1.508 GB, free: 12.78 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.003057/1.569, allocations: 1.17 MB / 1.509 GB, free: 11.6 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002353/1.572, allocations: 0.8624 MB / 1.51 GB, free: 10.72 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.572, allocations: 305.1 kB / 1.51 GB, free: 10.42 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004677/1.577, allocations: 2.16 MB / 1.512 GB, free: 8.254 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006348/1.583, allocations: 3.697 MB / 1.516 GB, free: 3.859 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/1.595, allocations: 6.323 MB / 1.522 GB, free: 12.82 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.318e-05/1.595, allocations: 16 kB / 1.522 GB, free: 12.8 MB / 1.232 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01705/1.612, allocations: 6.79 MB / 1.529 GB, free: 5.961 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 9.701e-05/1.612, allocations: 49.7 kB / 1.529 GB, free: 5.906 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.343e-05/1.612, allocations: 51.94 kB / 1.529 GB, free: 5.855 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/1.613, allocations: 439.6 kB / 1.529 GB, free: 5.422 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004542/1.618, allocations: 1.01 MB / 1.53 GB, free: 4.41 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008092/1.626, allocations: 5.695 MB / 1.536 GB, free: 14.45 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007107/1.633, allocations: 287.6 kB / 1.536 GB, free: 14.17 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.635, allocations: 220 kB / 1.536 GB, free: 13.95 MB / 1.248 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.007169/1.642, allocations: 2.487 MB / 1.539 GB, free: 11.45 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00224/1.644, allocations: 0.5513 MB / 1.539 GB, free: 10.9 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.656, allocations: 5.255 MB / 1.544 GB, free: 5.586 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/1.656, allocations: 28 kB / 1.544 GB, free: 5.559 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-05/1.657, allocations: 8 kB / 1.544 GB, free: 5.551 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009387/1.666, allocations: 4.512 MB / 1.549 GB, free: 0.9336 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03224/1.698, allocations: 11.97 MB / 1.561 GB, free: 4.812 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/1.698, allocations: 128 / 1.561 GB, free: 4.812 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003481/1.702, allocations: 0.6476 MB / 1.561 GB, free: 4.164 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/1.703, allocations: 372.4 kB / 1.562 GB, free: 3.797 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006549/1.703, allocations: 87.95 kB / 1.562 GB, free: 3.711 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007271/1.711, allocations: 5.627 MB / 1.567 GB, free: 13.81 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.711, allocations: 4 kB / 1.567 GB, free: 13.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01651/1.727, allocations: 7.775 MB / 1.575 GB, free: 5.934 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005005/1.732, allocations: 1.185 MB / 1.576 GB, free: 4.727 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002044/1.734, allocations: 75.92 kB / 1.576 GB, free: 4.652 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004821/1.739, allocations: 196 kB / 1.576 GB, free: 4.461 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009539/1.74, allocations: 202.2 kB / 1.576 GB, free: 4.262 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005187/1.741, allocations: 131.9 kB / 1.576 GB, free: 4.133 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.009434/1.75, allocations: 3.967 MB / 1.58 GB, free: 188 kB / 1.279 GB Notification: Performance of sort global known variables: time 1.71e-07/1.75, allocations: 0 / 1.58 GB, free: 188 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.009222/1.759, allocations: 2.02 MB / 1.582 GB, free: 14.16 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.01858/1.778, allocations: 8.728 MB / 1.591 GB, free: 5.336 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.79, allocations: 5.249 MB / 1.596 GB, free: 36 kB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.79, allocations: 0 / 1.596 GB, free: 36 kB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005779/1.795, allocations: 2.373 MB / 1.598 GB, free: 13.63 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0201/1.815, allocations: 3.39 MB / 1.602 GB, free: 10.34 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9327/2.748, allocations: 52.53 MB / 1.653 GB, free: 301.5 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006582/2.755, allocations: 4.626 MB / 1.657 GB, free: 297.3 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.008188/2.763, allocations: 2.083 MB / 1.659 GB, free: 295.4 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005347/2.768, allocations: 2.674 MB / 1.662 GB, free: 292.7 MB / 1.311 GB Notification: Performance of SimCode: time 2.114e-06/2.768, allocations: 0 / 1.662 GB, free: 292.7 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2303/2.999, allocations: 160.6 MB / 1.819 GB, free: 133.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.64/25.64, allocations: 8 kB / 1.819 GB, free: 133.6 MB / 1.311 GB " [Timeout remaining time 274] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 32.799489923752844]