Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008588/0.0008588, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001025/0.001025, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8807/0.8807, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.721/1.721, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.461e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5116/0.5116, allocations: 51.21 MB / 1.05 GB, free: 43.94 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.5271, allocations: 16.75 MB / 1.066 GB, free: 43.66 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.5284, allocations: 104 kB / 1.066 GB, free: 43.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.5297, allocations: 0.9179 MB / 1.067 GB, free: 43.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.5328, allocations: 2.724 MB / 1.07 GB, free: 42.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.5346, allocations: 1.65 MB / 1.071 GB, free: 41.61 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.5447, allocations: 22.09 MB / 1.093 GB, free: 31.41 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009508/0.5542, allocations: 6.752 MB / 1.099 GB, free: 28.45 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02468/0.5788, allocations: 10.33 MB / 1.11 GB, free: 24.32 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01317/0.592, allocations: 6.317 MB / 1.116 GB, free: 22.37 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.004041/0.5961, allocations: 0.9392 MB / 1.117 GB, free: 22.37 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008381/0.6044, allocations: 1.59 MB / 1.118 GB, free: 22.13 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.005305/0.6097, allocations: 2.49 MB / 1.121 GB, free: 20.57 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.01149/0.6212, allocations: 3.355 MB / 1.124 GB, free: 19.07 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02037/0.6416, allocations: 13.51 MB / 1.137 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.6416, allocations: 5.219 kB / 1.137 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6416, allocations: 0 / 1.137 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005985/0.6422, allocations: 0 / 1.137 GB, free: 14.35 MB / 0.9948 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.02338/0.6656, allocations: 8.541 MB / 1.145 GB, free: 9.793 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.6656, allocations: 10.59 kB / 1.145 GB, free: 9.793 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002762/0.6684, allocations: 0.8464 MB / 1.146 GB, free: 9.328 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004346/0.6728, allocations: 0.9574 MB / 1.147 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.6878, allocations: 6.776 MB / 1.154 GB, free: 5.645 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005345/0.6883, allocations: 457 kB / 1.154 GB, free: 5.438 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002674/0.691, allocations: 0.5979 MB / 1.155 GB, free: 5.234 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02153/0.7125, allocations: 10.11 MB / 1.165 GB, free: 14.54 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002074/0.7127, allocations: 19.67 kB / 1.165 GB, free: 14.53 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001804/0.7145, allocations: 259 kB / 1.165 GB, free: 14.34 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.7147, allocations: 188.2 kB / 1.165 GB, free: 14.31 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.7297, allocations: 7.444 MB / 1.172 GB, free: 10.49 MB / 1.01 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.04609/0.7758, allocations: 27.24 MB / 1.199 GB, free: 388 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005194/0.781, allocations: 3.975 MB / 1.203 GB, free: 12.41 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003553/0.7845, allocations: 3.039 MB / 1.206 GB, free: 9.367 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.7851, allocations: 194.3 kB / 1.206 GB, free: 9.176 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003437/0.7886, allocations: 3.456 MB / 1.209 GB, free: 5.426 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002701/0.7913, allocations: 397.1 kB / 1.21 GB, free: 5.035 MB / 1.042 GB Notification: Performance of pre-optimization done (n=317): time 1.145e-05/0.7913, allocations: 0 / 1.21 GB, free: 5.035 MB / 1.042 GB Notification: Performance of matching and sorting (n=317): time 0.01027/0.8016, allocations: 7.012 MB / 1.217 GB, free: 13.97 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.8016, allocations: 81.91 kB / 1.217 GB, free: 13.88 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009472/0.8111, allocations: 5.751 MB / 1.222 GB, free: 8.145 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0009866/0.8121, allocations: 89.7 kB / 1.222 GB, free: 8.051 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003131/0.8152, allocations: 3.267 MB / 1.226 GB, free: 4.762 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001971/0.8172, allocations: 1.158 MB / 1.227 GB, free: 3.594 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/0.8185, allocations: 0.8546 MB / 1.228 GB, free: 2.727 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.8186, allocations: 301.1 kB / 1.228 GB, free: 2.43 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/0.8213, allocations: 2.189 MB / 1.23 GB, free: 232 kB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00352/0.8248, allocations: 3.822 MB / 1.234 GB, free: 11.67 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006753/0.8316, allocations: 6.331 MB / 1.24 GB, free: 4.621 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.774e-05/0.8316, allocations: 12 kB / 1.24 GB, free: 4.609 MB / 1.073 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01033/0.842, allocations: 6.823 MB / 1.247 GB, free: 13.73 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.842, allocations: 49.7 kB / 1.247 GB, free: 13.67 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.777e-05/0.8421, allocations: 52.91 kB / 1.247 GB, free: 13.62 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007476/0.8428, allocations: 434.6 kB / 1.247 GB, free: 13.19 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.8454, allocations: 1.014 MB / 1.248 GB, free: 12.18 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/0.8496, allocations: 5.411 MB / 1.253 GB, free: 6.543 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004996/0.8546, allocations: 291.5 kB / 1.254 GB, free: 6.258 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008681/0.8555, allocations: 224 kB / 1.254 GB, free: 6.039 MB / 1.089 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.005327/0.8608, allocations: 2.481 MB / 1.256 GB, free: 3.547 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001954/0.8628, allocations: 0.559 MB / 1.257 GB, free: 2.984 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007166/0.87, allocations: 5.255 MB / 1.262 GB, free: 13.67 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.87, allocations: 32 kB / 1.262 GB, free: 13.64 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.87, allocations: 4 kB / 1.262 GB, free: 13.64 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004945/0.8749, allocations: 4.528 MB / 1.266 GB, free: 9.008 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02118/0.8961, allocations: 11.08 MB / 1.277 GB, free: 13.81 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.8961, allocations: 4 kB / 1.277 GB, free: 13.8 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.898, allocations: 0.6438 MB / 1.278 GB, free: 13.16 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007817/0.8988, allocations: 365.3 kB / 1.278 GB, free: 12.8 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003559/0.8991, allocations: 83.95 kB / 1.278 GB, free: 12.71 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004413/0.9036, allocations: 5.321 MB / 1.284 GB, free: 7.168 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.9036, allocations: 3.984 kB / 1.284 GB, free: 7.164 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009648/0.9132, allocations: 7.74 MB / 1.291 GB, free: 15.33 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003591/0.9168, allocations: 1.143 MB / 1.292 GB, free: 14.18 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/0.9186, allocations: 64.27 kB / 1.292 GB, free: 14.12 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003758/0.9224, allocations: 199.6 kB / 1.292 GB, free: 13.92 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/0.9228, allocations: 218 kB / 1.293 GB, free: 13.71 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003603/0.9232, allocations: 143.9 kB / 1.293 GB, free: 13.57 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.006106/0.9293, allocations: 3.962 MB / 1.297 GB, free: 9.625 MB / 1.135 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9293, allocations: 0 / 1.297 GB, free: 9.625 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.00796/0.9372, allocations: 2.027 MB / 1.299 GB, free: 7.594 MB / 1.135 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.01165/0.9489, allocations: 8.696 MB / 1.307 GB, free: 14.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006784/0.9557, allocations: 5.259 MB / 1.312 GB, free: 9.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.9557, allocations: 4 kB / 1.312 GB, free: 9.477 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002871/0.9586, allocations: 2.365 MB / 1.315 GB, free: 7.082 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01256/0.9711, allocations: 3.363 MB / 1.318 GB, free: 3.809 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08647/1.058, allocations: 52.57 MB / 1.369 GB, free: 13.08 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004186/1.062, allocations: 4.138 MB / 1.373 GB, free: 8.898 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.00597/1.068, allocations: 2.061 MB / 1.375 GB, free: 6.84 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004759/1.073, allocations: 2.671 MB / 1.378 GB, free: 4.168 MB / 1.214 GB Notification: Performance of SimCode: time 1.303e-06/1.073, allocations: 0 / 1.378 GB, free: 4.168 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1897/1.262, allocations: 170.1 MB / 1.544 GB, free: 11.88 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/12.12, allocations: 6.25 kB / 1.544 GB, free: 11.88 MB / 1.385 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.506207287311554]