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.0008279/0.0008279, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0008118/0.0008118, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8944/0.8944, allocations: 177.2 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.706/1.706, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.981 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.316e-05, allocations: 5.094 kB / 0.981 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.535/0.535, allocations: 51.24 MB / 1.031 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01959/0.5546, allocations: 16.78 MB / 1.047 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/0.5578, allocations: 103.2 kB / 1.047 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.00283/0.5606, allocations: 0.9067 MB / 1.048 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00931/0.57, allocations: 2.73 MB / 1.051 GB, free: 14.72 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.5743, allocations: 1.659 MB / 1.053 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01874/0.593, allocations: 22.14 MB / 1.074 GB, free: 4.039 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/0.6043, allocations: 7.101 MB / 1.081 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02944/0.6338, allocations: 10.51 MB / 1.091 GB, free: 13.48 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01638/0.6502, allocations: 6.312 MB / 1.098 GB, free: 11.6 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.004866/0.655, allocations: 0.9377 MB / 1.099 GB, free: 11.6 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/0.6685, allocations: 1.593 MB / 1.1 GB, free: 11.42 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.006823/0.6753, allocations: 2.5 MB / 1.103 GB, free: 10 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01285/0.6882, allocations: 3.352 MB / 1.106 GB, free: 8.656 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02221/0.7104, allocations: 13.51 MB / 1.119 GB, free: 284 kB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.7104, allocations: 3.938 kB / 1.119 GB, free: 280 kB / 0.948 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7104, allocations: 0 / 1.119 GB, free: 280 kB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005091/0.7109, allocations: 0 / 1.119 GB, free: 280 kB / 0.948 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.0228/0.7337, allocations: 8.56 MB / 1.127 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.7337, allocations: 8.531 kB / 1.127 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002713/0.7365, allocations: 0.8479 MB / 1.128 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003978/0.7404, allocations: 0.953 MB / 1.129 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.7527, allocations: 6.787 MB / 1.136 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/0.753, allocations: 456.6 kB / 1.136 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/0.7551, allocations: 0.5999 MB / 1.137 GB, free: 1.516 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/0.7733, allocations: 10.11 MB / 1.147 GB, free: 6.84 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.7735, allocations: 15.88 kB / 1.147 GB, free: 6.824 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001067/0.7745, allocations: 262.3 kB / 1.147 GB, free: 6.57 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.7747, allocations: 183.9 kB / 1.147 GB, free: 6.391 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.7891, allocations: 7.449 MB / 1.154 GB, free: 14.93 MB / 0.9948 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.04392/0.833, allocations: 27.23 MB / 1.181 GB, free: 3.543 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005743/0.8387, allocations: 3.972 MB / 1.185 GB, free: 15.58 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003711/0.8425, allocations: 3.035 MB / 1.188 GB, free: 12.55 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006607/0.8431, allocations: 204.1 kB / 1.188 GB, free: 12.35 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004071/0.8472, allocations: 3.452 MB / 1.191 GB, free: 8.605 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002485/0.8497, allocations: 397.1 kB / 1.192 GB, free: 8.215 MB / 1.026 GB Notification: Performance of pre-optimization done (n=317): time 1.29e-05/0.8497, allocations: 0 / 1.192 GB, free: 8.215 MB / 1.026 GB Notification: Performance of matching and sorting (n=317): time 0.01146/0.8611, allocations: 7.003 MB / 1.199 GB, free: 1.164 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.8612, allocations: 85.91 kB / 1.199 GB, free: 1.066 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008822/0.87, allocations: 5.771 MB / 1.204 GB, free: 11.32 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0007602/0.8708, allocations: 85.7 kB / 1.204 GB, free: 11.23 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002761/0.8736, allocations: 3.262 MB / 1.208 GB, free: 7.957 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001614/0.8752, allocations: 1.154 MB / 1.209 GB, free: 6.82 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.8765, allocations: 0.8546 MB / 1.21 GB, free: 5.953 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.8766, allocations: 305.1 kB / 1.21 GB, free: 5.652 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003044/0.8796, allocations: 2.189 MB / 1.212 GB, free: 3.449 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003585/0.8832, allocations: 3.834 MB / 1.216 GB, free: 14.88 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007023/0.8902, allocations: 6.319 MB / 1.222 GB, free: 7.848 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-05/0.8903, allocations: 12 kB / 1.222 GB, free: 7.836 MB / 1.057 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0116/0.9019, allocations: 6.827 MB / 1.229 GB, free: 0.9531 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.902, allocations: 57.64 kB / 1.229 GB, free: 0.8906 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.238e-05/0.902, allocations: 48 kB / 1.229 GB, free: 0.8438 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007877/0.9028, allocations: 433.5 kB / 1.229 GB, free: 424 kB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.9054, allocations: 1.002 MB / 1.23 GB, free: 15.41 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/0.9098, allocations: 5.428 MB / 1.235 GB, free: 9.77 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004338/0.9141, allocations: 291.5 kB / 1.236 GB, free: 9.484 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007777/0.9149, allocations: 220 kB / 1.236 GB, free: 9.27 MB / 1.073 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.004726/0.9196, allocations: 2.471 MB / 1.238 GB, free: 6.785 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/0.9214, allocations: 0.5551 MB / 1.239 GB, free: 6.227 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007055/0.9285, allocations: 5.259 MB / 1.244 GB, free: 0.9102 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.9285, allocations: 35.98 kB / 1.244 GB, free: 0.875 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.9285, allocations: 11.94 kB / 1.244 GB, free: 0.8633 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005173/0.9337, allocations: 4.516 MB / 1.248 GB, free: 12.25 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02016/0.9539, allocations: 11.08 MB / 1.259 GB, free: 1.121 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.9539, allocations: 0 / 1.259 GB, free: 1.121 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/0.9555, allocations: 0.6438 MB / 1.26 GB, free: 488 kB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005905/0.9561, allocations: 372.3 kB / 1.26 GB, free: 112 kB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/0.9563, allocations: 87.89 kB / 1.26 GB, free: 24 kB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004009/0.9603, allocations: 5.321 MB / 1.265 GB, free: 10.49 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.9603, allocations: 4 kB / 1.265 GB, free: 10.48 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.9707, allocations: 7.748 MB / 1.273 GB, free: 2.645 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003328/0.9741, allocations: 1.14 MB / 1.274 GB, free: 1.5 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/0.9755, allocations: 67.98 kB / 1.274 GB, free: 1.434 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003076/0.9786, allocations: 199.8 kB / 1.274 GB, free: 1.238 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000394/0.979, allocations: 210 kB / 1.275 GB, free: 1.031 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/0.9793, allocations: 140 kB / 1.275 GB, free: 0.8945 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.006299/0.9856, allocations: 3.967 MB / 1.279 GB, free: 12.95 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9856, allocations: 0 / 1.279 GB, free: 12.95 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.007513/0.9931, allocations: 2.031 MB / 1.281 GB, free: 10.91 MB / 1.12 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.01138/1.005, allocations: 8.697 MB / 1.289 GB, free: 2.129 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.006669/1.011, allocations: 5.265 MB / 1.294 GB, free: 12.81 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.011, allocations: 4 kB / 1.294 GB, free: 12.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.00272/1.014, allocations: 2.358 MB / 1.297 GB, free: 10.42 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/1.025, allocations: 3.384 MB / 1.3 GB, free: 7.129 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07949/1.105, allocations: 52.62 MB / 1.351 GB, free: 368 kB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003924/1.109, allocations: 4.152 MB / 1.355 GB, free: 12.16 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005589/1.114, allocations: 2.066 MB / 1.357 GB, free: 10.1 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004324/1.119, allocations: 2.675 MB / 1.36 GB, free: 7.422 MB / 1.198 GB Notification: Performance of SimCode: time 2.394e-06/1.119, allocations: 0 / 1.36 GB, free: 7.422 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1696/1.288, allocations: 170.5 MB / 1.526 GB, free: 15.37 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.93, allocations: 15.78 kB / 1.526 GB, free: 15.36 MB / 1.37 GB " [Timeout remaining time 286] (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/jenkins/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: 18.210775712504983]