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.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.001649/0.001649, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002095/0.002095, allocations: 214.3 kB / 23.04 MB, free: 5.078 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.667/1.667, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.126/3.126, allocations: 476.7 MB / 0.7715 GB, free: 4.363 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_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.002038/0.002038, allocations: 66.94 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4174, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07079/0.4882, allocations: 57.21 MB / 1.34 GB, free: 2.332 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03165/0.5198, allocations: 18.19 MB / 1.358 GB, free: 92 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004288/0.5241, allocations: 103.3 kB / 1.358 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003929/0.528, allocations: 0.9313 MB / 1.359 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009904/0.5379, allocations: 2.682 MB / 1.361 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005317/0.5432, allocations: 1.594 MB / 1.363 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.03133/0.5746, allocations: 21.8 MB / 1.384 GB, free: 4.914 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01448/0.5891, allocations: 7.09 MB / 1.391 GB, free: 13.7 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01875/0.6078, allocations: 7.354 MB / 1.398 GB, free: 6.371 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01595/0.6238, allocations: 6.662 MB / 1.405 GB, free: 15.68 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.004315/0.6281, allocations: 0.9414 MB / 1.406 GB, free: 14.74 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008819/0.6369, allocations: 1.78 MB / 1.408 GB, free: 12.96 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.006111/0.643, allocations: 2.43 MB / 1.41 GB, free: 10.52 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01551/0.6585, allocations: 4.707 MB / 1.414 GB, free: 5.797 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02719/0.6857, allocations: 13.28 MB / 1.427 GB, free: 8.477 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.6857, allocations: 8 kB / 1.427 GB, free: 8.469 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.936e-06/0.6857, allocations: 0 / 1.427 GB, free: 8.469 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0005652/0.6863, allocations: 4 kB / 1.427 GB, free: 8.465 MB / 1.123 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.03002/0.7163, allocations: 8.636 MB / 1.436 GB, free: 15.75 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.7164, allocations: 12.03 kB / 1.436 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000247/0.7166, allocations: 156.4 kB / 1.436 GB, free: 15.58 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00391/0.7205, allocations: 0.8422 MB / 1.437 GB, free: 14.73 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006195/0.7267, allocations: 0.9528 MB / 1.438 GB, free: 13.77 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/0.7457, allocations: 6.769 MB / 1.444 GB, free: 6.918 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006836/0.7464, allocations: 456.2 kB / 1.445 GB, free: 6.469 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003211/0.7496, allocations: 0.5976 MB / 1.445 GB, free: 5.871 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03027/0.7799, allocations: 9.036 MB / 1.454 GB, free: 12.51 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003866/0.7803, allocations: 31.8 kB / 1.454 GB, free: 12.48 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002842/0.7831, allocations: 256 kB / 1.455 GB, free: 12.23 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002774/0.7834, allocations: 180 kB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02223/0.8056, allocations: 7.469 MB / 1.462 GB, free: 4.578 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.07559/0.8812, allocations: 35.98 MB / 1.497 GB, free: 14.52 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009009/0.8902, allocations: 4.003 MB / 1.501 GB, free: 10.52 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006639/0.8969, allocations: 3.036 MB / 1.504 GB, free: 7.477 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.8982, allocations: 226.1 kB / 1.504 GB, free: 7.254 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006009/0.9042, allocations: 2.386 MB / 1.507 GB, free: 4.832 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00369/0.9079, allocations: 397 kB / 1.507 GB, free: 4.441 MB / 1.201 GB Notification: Performance of pre-optimization done (n=317): time 1.773e-05/0.9079, allocations: 4 kB / 1.507 GB, free: 4.438 MB / 1.201 GB Notification: Performance of matching and sorting (n=317): time 0.01935/0.9272, allocations: 6.996 MB / 1.514 GB, free: 13.39 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.9273, allocations: 89.84 kB / 1.514 GB, free: 13.29 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01408/0.9414, allocations: 5.674 MB / 1.519 GB, free: 7.637 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0009967/0.9424, allocations: 97.69 kB / 1.519 GB, free: 7.535 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.005037/0.9474, allocations: 3.271 MB / 1.523 GB, free: 4.238 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.002526/0.95, allocations: 1.17 MB / 1.524 GB, free: 3.059 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003444/0.9534, allocations: 0.8625 MB / 1.525 GB, free: 2.184 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.9536, allocations: 305.1 kB / 1.525 GB, free: 1.883 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/0.9583, allocations: 2.16 MB / 1.527 GB, free: 15.71 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006941/0.9652, allocations: 3.697 MB / 1.531 GB, free: 11.32 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/0.9772, allocations: 6.327 MB / 1.537 GB, free: 4.273 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.143e-05/0.9772, allocations: 16 kB / 1.537 GB, free: 4.258 MB / 1.232 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01843/0.9957, allocations: 6.787 MB / 1.544 GB, free: 13.42 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.9958, allocations: 53.7 kB / 1.544 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.9959, allocations: 52.16 kB / 1.544 GB, free: 13.31 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.9971, allocations: 440.1 kB / 1.544 GB, free: 12.88 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/1.002, allocations: 1.002 MB / 1.545 GB, free: 11.88 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007408/1.009, allocations: 5.486 MB / 1.55 GB, free: 6.164 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006071/1.015, allocations: 283.7 kB / 1.551 GB, free: 5.887 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.017, allocations: 220 kB / 1.551 GB, free: 5.672 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.006798/1.023, allocations: 2.483 MB / 1.553 GB, free: 3.176 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002812/1.026, allocations: 0.5551 MB / 1.554 GB, free: 2.617 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/1.04, allocations: 5.263 MB / 1.559 GB, free: 13.3 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-05/1.04, allocations: 35.98 kB / 1.559 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.299e-05/1.04, allocations: 7.938 kB / 1.559 GB, free: 13.25 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009363/1.05, allocations: 4.52 MB / 1.563 GB, free: 8.629 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03329/1.083, allocations: 12.01 MB / 1.575 GB, free: 12.47 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.083, allocations: 0 / 1.575 GB, free: 12.47 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003436/1.087, allocations: 0.6438 MB / 1.576 GB, free: 11.82 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/1.088, allocations: 371.7 kB / 1.576 GB, free: 11.46 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006993/1.088, allocations: 91.94 kB / 1.576 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006999/1.095, allocations: 5.398 MB / 1.581 GB, free: 5.754 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.095, allocations: 11.94 kB / 1.581 GB, free: 5.742 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/1.113, allocations: 7.787 MB / 1.589 GB, free: 13.85 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00523/1.118, allocations: 1.147 MB / 1.59 GB, free: 12.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002599/1.12, allocations: 67.98 kB / 1.59 GB, free: 12.64 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005044/1.126, allocations: 195.8 kB / 1.59 GB, free: 12.45 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/1.127, allocations: 206.1 kB / 1.591 GB, free: 12.24 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000933/1.127, allocations: 143.9 kB / 1.591 GB, free: 12.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.01065/1.138, allocations: 3.967 MB / 1.595 GB, free: 8.156 MB / 1.295 GB Notification: Performance of sort global known variables: time 4.41e-07/1.138, allocations: 0 / 1.595 GB, free: 8.156 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.01018/1.148, allocations: 2.027 MB / 1.597 GB, free: 6.125 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.9127/2.061, allocations: 8.703 MB / 1.605 GB, free: 296.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0137/2.075, allocations: 5.239 MB / 1.61 GB, free: 294.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/2.075, allocations: 3.094 kB / 1.61 GB, free: 294.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005738/2.08, allocations: 2.378 MB / 1.613 GB, free: 293.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02836/2.109, allocations: 3.392 MB / 1.616 GB, free: 292.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1076/2.216, allocations: 52.65 MB / 1.667 GB, free: 255.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0071/2.224, allocations: 4.639 MB / 1.672 GB, free: 250.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007678/2.231, allocations: 2.073 MB / 1.674 GB, free: 248.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004743/2.236, allocations: 2.678 MB / 1.676 GB, free: 245.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.723e-06/2.236, allocations: 0 / 1.676 GB, free: 245.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2449/2.481, allocations: 164.3 MB / 1.837 GB, free: 82.62 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.59/27.07, allocations: 11.02 kB / 1.837 GB, free: 82.61 MB / 1.295 GB " [Timeout remaining time 272] (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/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: 35.39336186501896]