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.001225/0.001225, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001406/0.001406, allocations: 218.8 kB / 22.24 MB, free: 5.254 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.793 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.972/2.972, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",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.002028/0.002028, allocations: 75.3 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3161, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05772/0.3738, allocations: 51.66 MB / 1.376 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02449/0.3983, allocations: 16.86 MB / 1.393 GB, free: 12.76 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003228/0.4015, allocations: 99.19 kB / 1.393 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.4049, allocations: 0.8963 MB / 1.394 GB, free: 11.76 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007948/0.4128, allocations: 2.667 MB / 1.396 GB, free: 9.078 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/0.4171, allocations: 1.586 MB / 1.398 GB, free: 7.5 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02433/0.4414, allocations: 21.83 MB / 1.419 GB, free: 1.617 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01091/0.4523, allocations: 7.113 MB / 1.426 GB, free: 10.38 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0158/0.4681, allocations: 7.585 MB / 1.434 GB, free: 2.816 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01254/0.4807, allocations: 6.584 MB / 1.44 GB, free: 12.21 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002724/0.4834, allocations: 0.9375 MB / 1.441 GB, free: 11.27 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00727/0.4907, allocations: 1.585 MB / 1.442 GB, free: 9.684 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004677/0.4953, allocations: 2.426 MB / 1.445 GB, free: 7.25 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.008815/0.5042, allocations: 3.88 MB / 1.449 GB, free: 3.355 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01864/0.5228, allocations: 13.35 MB / 1.462 GB, free: 5.961 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.5228, allocations: 4 kB / 1.462 GB, free: 5.957 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5228, allocations: 0 / 1.462 GB, free: 5.957 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004495/0.5233, allocations: 0 / 1.462 GB, free: 5.957 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.02215/0.5454, allocations: 8.646 MB / 1.47 GB, free: 13.23 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.5455, allocations: 12.02 kB / 1.47 GB, free: 13.21 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002783/0.5482, allocations: 0.8383 MB / 1.471 GB, free: 12.37 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004309/0.5526, allocations: 0.9566 MB / 1.472 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/0.569, allocations: 6.777 MB / 1.478 GB, free: 4.547 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004632/0.5695, allocations: 464.2 kB / 1.479 GB, free: 4.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.5715, allocations: 0.5975 MB / 1.479 GB, free: 3.492 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02151/0.593, allocations: 10.11 MB / 1.489 GB, free: 8.805 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001519/0.5932, allocations: 19.83 kB / 1.489 GB, free: 8.785 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008657/0.594, allocations: 260 kB / 1.49 GB, free: 8.531 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/0.5942, allocations: 187.9 kB / 1.49 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.6091, allocations: 7.441 MB / 1.497 GB, free: 0.8984 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.0519/0.661, allocations: 27.26 MB / 1.524 GB, free: 5.172 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00656/0.6675, allocations: 3.968 MB / 1.528 GB, free: 1.199 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004907/0.6725, allocations: 3.033 MB / 1.531 GB, free: 14.16 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.6735, allocations: 202.3 kB / 1.531 GB, free: 13.96 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005285/0.6788, allocations: 3.46 MB / 1.534 GB, free: 10.2 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003162/0.6819, allocations: 401.1 kB / 1.534 GB, free: 9.809 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 1.488e-05/0.6819, allocations: 4 kB / 1.534 GB, free: 9.805 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01484/0.6968, allocations: 7 MB / 1.541 GB, free: 2.754 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.6968, allocations: 85.91 kB / 1.541 GB, free: 2.656 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009583/0.7064, allocations: 5.763 MB / 1.547 GB, free: 12.91 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0007919/0.7072, allocations: 85.7 kB / 1.547 GB, free: 12.82 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.003615/0.7108, allocations: 3.275 MB / 1.55 GB, free: 9.523 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001814/0.7127, allocations: 1.17 MB / 1.551 GB, free: 8.344 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.7141, allocations: 0.8585 MB / 1.552 GB, free: 7.473 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7142, allocations: 313 kB / 1.553 GB, free: 7.164 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/0.7177, allocations: 2.192 MB / 1.555 GB, free: 4.957 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005031/0.7228, allocations: 3.822 MB / 1.558 GB, free: 412 kB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009188/0.732, allocations: 6.327 MB / 1.565 GB, free: 9.359 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.56e-05/0.732, allocations: 16 kB / 1.565 GB, free: 9.344 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01232/0.7443, allocations: 6.812 MB / 1.571 GB, free: 2.477 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.066e-05/0.7444, allocations: 61.72 kB / 1.571 GB, free: 2.41 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.868e-05/0.7445, allocations: 48 kB / 1.571 GB, free: 2.363 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00099/0.7455, allocations: 429.3 kB / 1.572 GB, free: 1.938 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003947/0.7494, allocations: 1.01 MB / 1.573 GB, free: 0.9258 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/0.7557, allocations: 5.422 MB / 1.578 GB, free: 11.29 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005252/0.7609, allocations: 287.5 kB / 1.578 GB, free: 11 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007174/0.7616, allocations: 216 kB / 1.579 GB, free: 10.79 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.004443/0.7661, allocations: 2.481 MB / 1.581 GB, free: 8.301 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/0.7676, allocations: 0.5512 MB / 1.582 GB, free: 7.746 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00886/0.7765, allocations: 5.27 MB / 1.587 GB, free: 2.418 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/0.7765, allocations: 39.88 kB / 1.587 GB, free: 2.379 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.7765, allocations: 4 kB / 1.587 GB, free: 2.375 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006766/0.7833, allocations: 4.52 MB / 1.591 GB, free: 13.74 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02268/0.806, allocations: 11.07 MB / 1.602 GB, free: 2.555 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.806, allocations: 4 kB / 1.602 GB, free: 2.551 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/0.8089, allocations: 0.6438 MB / 1.603 GB, free: 1.906 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008913/0.8098, allocations: 371.8 kB / 1.603 GB, free: 1.539 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003091/0.8101, allocations: 83.95 kB / 1.603 GB, free: 1.457 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5881/1.398, allocations: 5.329 MB / 1.608 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.398, allocations: 2.438 kB / 1.608 GB, free: 256.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.41, allocations: 7.75 MB / 1.616 GB, free: 254.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003599/1.414, allocations: 1.139 MB / 1.617 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.415, allocations: 68.8 kB / 1.617 GB, free: 253.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00303/1.418, allocations: 193.6 kB / 1.617 GB, free: 253.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005253/1.418, allocations: 207.2 kB / 1.617 GB, free: 253.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003512/1.419, allocations: 143 kB / 1.618 GB, free: 253.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00675/1.425, allocations: 3.965 MB / 1.621 GB, free: 252.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.425, allocations: 1.672 kB / 1.621 GB, free: 252.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.006159/1.432, allocations: 2.033 MB / 1.623 GB, free: 252.2 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.01218/1.444, allocations: 8.675 MB / 1.632 GB, free: 248.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007426/1.451, allocations: 5.267 MB / 1.637 GB, free: 246.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.451, allocations: 3.875 kB / 1.637 GB, free: 246.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002963/1.454, allocations: 2.367 MB / 1.639 GB, free: 245.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01213/1.466, allocations: 3.402 MB / 1.643 GB, free: 244.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05788/1.524, allocations: 52.75 MB / 1.694 GB, free: 197.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/1.527, allocations: 4.145 MB / 1.698 GB, free: 192.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004833/1.532, allocations: 2.069 MB / 1.7 GB, free: 190.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003069/1.535, allocations: 2.678 MB / 1.703 GB, free: 188.2 MB / 1.295 GB Notification: Performance of SimCode: time 9.62e-07/1.535, allocations: 0 / 1.703 GB, free: 188.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2093/1.744, allocations: 173 MB / 1.872 GB, free: 17.23 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/19.62, allocations: 11.98 kB / 1.872 GB, free: 17.22 MB / 1.295 GB " [Timeout remaining time 280] (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: 26.264769622997846]