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.001815/0.001815, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002403/0.002403, allocations: 212.8 kB / 22.24 MB, free: 5.242 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.812 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.015/3.015, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 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.002072/0.002072, allocations: 69.59 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3359, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0585/0.3944, allocations: 51.67 MB / 1.376 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02378/0.4181, allocations: 16.84 MB / 1.392 GB, free: 13.67 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00538/0.4235, allocations: 103.2 kB / 1.392 GB, free: 13.57 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.4274, allocations: 0.8924 MB / 1.393 GB, free: 12.67 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.4376, allocations: 2.663 MB / 1.396 GB, free: 9.992 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004278/0.4419, allocations: 1.565 MB / 1.397 GB, free: 8.434 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02333/0.4652, allocations: 22.05 MB / 1.419 GB, free: 2.328 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.4762, allocations: 7.093 MB / 1.426 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01481/0.491, allocations: 7.588 MB / 1.433 GB, free: 3.547 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01181/0.5028, allocations: 6.893 MB / 1.44 GB, free: 12.62 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002764/0.5056, allocations: 0.9375 MB / 1.441 GB, free: 11.69 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006306/0.5119, allocations: 1.577 MB / 1.442 GB, free: 10.11 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.516, allocations: 2.433 MB / 1.444 GB, free: 7.672 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00785/0.5238, allocations: 3.872 MB / 1.448 GB, free: 3.785 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.5403, allocations: 13.36 MB / 1.461 GB, free: 6.379 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5403, allocations: 0 / 1.461 GB, free: 6.379 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5403, allocations: 0 / 1.461 GB, free: 6.379 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0003482/0.5406, allocations: 0 / 1.461 GB, free: 6.379 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.01973/0.5603, allocations: 8.642 MB / 1.47 GB, free: 13.65 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5604, allocations: 8.031 kB / 1.47 GB, free: 13.64 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001811/0.5622, allocations: 0.846 MB / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/0.5658, allocations: 0.9528 MB / 1.472 GB, free: 11.83 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/0.5806, allocations: 6.773 MB / 1.478 GB, free: 4.973 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004075/0.581, allocations: 468.1 kB / 1.479 GB, free: 4.512 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.5825, allocations: 0.5937 MB / 1.479 GB, free: 3.918 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/0.6, allocations: 10.11 MB / 1.489 GB, free: 9.223 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.6001, allocations: 19.83 kB / 1.489 GB, free: 9.203 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006691/0.6008, allocations: 256 kB / 1.489 GB, free: 8.953 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001801/0.601, allocations: 183.9 kB / 1.489 GB, free: 8.773 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.6142, allocations: 7.449 MB / 1.497 GB, free: 1.316 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.04913/0.6634, allocations: 27.26 MB / 1.523 GB, free: 5.594 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006806/0.6702, allocations: 3.972 MB / 1.527 GB, free: 1.617 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004927/0.6751, allocations: 3.025 MB / 1.53 GB, free: 14.58 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009523/0.6761, allocations: 210.3 kB / 1.53 GB, free: 14.38 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004745/0.6808, allocations: 3.456 MB / 1.534 GB, free: 10.62 MB / 1.232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00226/0.6831, allocations: 401.1 kB / 1.534 GB, free: 10.23 MB / 1.232 GB Notification: Performance of pre-optimization done (n=317): time 6.793e-06/0.6831, allocations: 0 / 1.534 GB, free: 10.23 MB / 1.232 GB Notification: Performance of matching and sorting (n=317): time 0.01338/0.6964, allocations: 7 MB / 1.541 GB, free: 3.18 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.6965, allocations: 85.91 kB / 1.541 GB, free: 3.082 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009528/0.7061, allocations: 5.767 MB / 1.547 GB, free: 13.33 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0007772/0.7068, allocations: 85.7 kB / 1.547 GB, free: 13.24 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.003861/0.7107, allocations: 3.271 MB / 1.55 GB, free: 9.949 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002069/0.7128, allocations: 1.17 MB / 1.551 GB, free: 8.77 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/0.7143, allocations: 0.8663 MB / 1.552 GB, free: 7.891 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7145, allocations: 305.1 kB / 1.552 GB, free: 7.59 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003715/0.7182, allocations: 2.189 MB / 1.554 GB, free: 5.387 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005101/0.7233, allocations: 3.83 MB / 1.558 GB, free: 0.8242 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009361/0.7327, allocations: 6.319 MB / 1.564 GB, free: 9.789 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.385e-05/0.7327, allocations: 16 kB / 1.564 GB, free: 9.773 MB / 1.264 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01265/0.7454, allocations: 6.819 MB / 1.571 GB, free: 2.898 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/0.7454, allocations: 53.7 kB / 1.571 GB, free: 2.84 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.74e-05/0.7455, allocations: 48 kB / 1.571 GB, free: 2.793 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.7465, allocations: 442.7 kB / 1.572 GB, free: 2.355 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004003/0.7505, allocations: 1.006 MB / 1.573 GB, free: 1.348 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00663/0.7572, allocations: 5.427 MB / 1.578 GB, free: 11.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/0.7619, allocations: 287.5 kB / 1.578 GB, free: 11.42 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000672/0.7626, allocations: 220 kB / 1.578 GB, free: 11.21 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.004439/0.767, allocations: 2.479 MB / 1.581 GB, free: 8.715 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/0.7684, allocations: 0.5512 MB / 1.581 GB, free: 8.16 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009026/0.7775, allocations: 5.267 MB / 1.586 GB, free: 2.836 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/0.7775, allocations: 28 kB / 1.586 GB, free: 2.809 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.7775, allocations: 8 kB / 1.586 GB, free: 2.801 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006854/0.7843, allocations: 4.52 MB / 1.591 GB, free: 14.17 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02249/0.8068, allocations: 11.07 MB / 1.602 GB, free: 2.98 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.8068, allocations: 4 kB / 1.602 GB, free: 2.977 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/0.8096, allocations: 0.6438 MB / 1.602 GB, free: 2.332 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008629/0.8105, allocations: 368.1 kB / 1.603 GB, free: 1.969 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/0.8107, allocations: 83.95 kB / 1.603 GB, free: 1.887 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6457/1.456, allocations: 5.333 MB / 1.608 GB, free: 257.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.456, allocations: 6.312 kB / 1.608 GB, free: 257.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.469, allocations: 7.749 MB / 1.615 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00374/1.472, allocations: 1.143 MB / 1.617 GB, free: 254.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.473, allocations: 69.55 kB / 1.617 GB, free: 254.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/1.476, allocations: 193.2 kB / 1.617 GB, free: 254.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005475/1.477, allocations: 207 kB / 1.617 GB, free: 254.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003784/1.477, allocations: 139.5 kB / 1.617 GB, free: 254.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00888/1.486, allocations: 3.968 MB / 1.621 GB, free: 253.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.71e-07/1.486, allocations: 0 / 1.621 GB, free: 253.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.008977/1.495, allocations: 2.031 MB / 1.623 GB, free: 253.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.01545/1.511, allocations: 8.682 MB / 1.632 GB, free: 249.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008481/1.519, allocations: 5.267 MB / 1.637 GB, free: 247.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/1.519, allocations: 5.781 kB / 1.637 GB, free: 247.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003247/1.522, allocations: 2.366 MB / 1.639 GB, free: 246.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01405/1.536, allocations: 3.389 MB / 1.642 GB, free: 245.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07402/1.61, allocations: 52.75 MB / 1.694 GB, free: 197.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003431/1.614, allocations: 4.145 MB / 1.698 GB, free: 193.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006197/1.62, allocations: 2.074 MB / 1.7 GB, free: 191.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004985/1.625, allocations: 2.674 MB / 1.702 GB, free: 189 MB / 1.295 GB Notification: Performance of SimCode: time 1.543e-06/1.625, allocations: 7.938 kB / 1.702 GB, free: 189 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2116/1.837, allocations: 171.1 MB / 1.87 GB, free: 19.99 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.38/20.21, allocations: 11.92 kB / 1.87 GB, free: 19.98 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: 27.041630915831774]