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.000791/0.000791, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008361/0.0008361, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9225/0.9225, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.701/1.701, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9505 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.734e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03637/0.03639, allocations: 51.19 MB / 1 GB, free: 148 kB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.05318, allocations: 16.77 MB / 1.017 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.05501, allocations: 103.2 kB / 1.017 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.05682, allocations: 0.9039 MB / 1.018 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.06155, allocations: 2.743 MB / 1.021 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00275/0.0643, allocations: 1.663 MB / 1.022 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.01385/0.07814, allocations: 22.11 MB / 1.044 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6025/0.6806, allocations: 7.093 MB / 1.051 GB, free: 49.13 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0204/0.701, allocations: 10.1 MB / 1.061 GB, free: 49.13 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01184/0.7129, allocations: 6.398 MB / 1.067 GB, free: 49.13 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.002187/0.7151, allocations: 0.9364 MB / 1.068 GB, free: 49.13 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004884/0.7199, allocations: 1.595 MB / 1.069 GB, free: 49.13 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001787/0.7217, allocations: 2.501 MB / 1.072 GB, free: 49.13 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.005521/0.7272, allocations: 3.333 MB / 1.075 GB, free: 49.13 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01981/0.7471, allocations: 13.47 MB / 1.088 GB, free: 48.58 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.7471, allocations: 0 / 1.088 GB, free: 48.58 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7471, allocations: 0.8125 kB / 1.088 GB, free: 48.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0006603/0.7477, allocations: 1.031 kB / 1.088 GB, free: 48.58 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.03009/0.7778, allocations: 8.559 MB / 1.096 GB, free: 45.53 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.7779, allocations: 14.12 kB / 1.096 GB, free: 45.53 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002583/0.7805, allocations: 0.8437 MB / 1.097 GB, free: 45.45 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/0.7843, allocations: 0.9576 MB / 1.098 GB, free: 45.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.7972, allocations: 6.764 MB / 1.105 GB, free: 42.62 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/0.7976, allocations: 457 kB / 1.105 GB, free: 42.42 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.7987, allocations: 0.6016 MB / 1.106 GB, free: 42.21 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/0.8169, allocations: 10.11 MB / 1.116 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001568/0.817, allocations: 15.42 kB / 1.116 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006824/0.8177, allocations: 263.9 kB / 1.116 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002516/0.818, allocations: 181.1 kB / 1.116 GB, free: 37 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.8313, allocations: 7.453 MB / 1.123 GB, free: 34.55 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.03315/0.8645, allocations: 27.22 MB / 1.15 GB, free: 19.43 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00375/0.8682, allocations: 3.971 MB / 1.154 GB, free: 18.04 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.871, allocations: 3.04 MB / 1.157 GB, free: 17.05 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005219/0.8715, allocations: 196.1 kB / 1.157 GB, free: 17.04 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002672/0.8742, allocations: 3.45 MB / 1.16 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002218/0.8764, allocations: 398.2 kB / 1.161 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=317): time 9.418e-06/0.8764, allocations: 0 / 1.161 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.007361/0.8837, allocations: 7.005 MB / 1.168 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.8838, allocations: 86.31 kB / 1.168 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005555/0.8893, allocations: 5.765 MB / 1.173 GB, free: 8.215 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.8896, allocations: 85.73 kB / 1.173 GB, free: 8.141 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.8914, allocations: 3.261 MB / 1.177 GB, free: 5.328 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007789/0.8922, allocations: 1.164 MB / 1.178 GB, free: 4.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000886/0.8931, allocations: 0.848 MB / 1.179 GB, free: 3.855 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.219e-05/0.8931, allocations: 307.1 kB / 1.179 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.8951, allocations: 2.185 MB / 1.181 GB, free: 2.402 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002643/0.8978, allocations: 3.828 MB / 1.185 GB, free: 15.15 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005846/0.9036, allocations: 6.325 MB / 1.191 GB, free: 9.68 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.078e-05/0.9036, allocations: 16 kB / 1.191 GB, free: 9.664 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.00795/0.9116, allocations: 6.822 MB / 1.198 GB, free: 3.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.9116, allocations: 56.2 kB / 1.198 GB, free: 3.031 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.484e-05/0.9117, allocations: 51.42 kB / 1.198 GB, free: 2.984 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006817/0.9124, allocations: 439.4 kB / 1.198 GB, free: 2.551 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.9145, allocations: 1.007 MB / 1.199 GB, free: 1.613 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/0.9184, allocations: 5.425 MB / 1.204 GB, free: 12.03 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00356/0.9219, allocations: 287.5 kB / 1.205 GB, free: 11.75 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/0.9222, allocations: 219.5 kB / 1.205 GB, free: 11.54 MB / 1.026 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.004433/0.9267, allocations: 2.485 MB / 1.207 GB, free: 9.109 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/0.9277, allocations: 0.5536 MB / 1.208 GB, free: 8.555 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005856/0.9335, allocations: 5.259 MB / 1.213 GB, free: 3.258 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/0.9336, allocations: 28 kB / 1.213 GB, free: 3.23 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.9336, allocations: 8 kB / 1.213 GB, free: 3.223 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004305/0.9379, allocations: 4.532 MB / 1.217 GB, free: 14.61 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.9528, allocations: 11.07 MB / 1.228 GB, free: 3.531 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.9528, allocations: 4 kB / 1.228 GB, free: 3.527 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.9543, allocations: 0.6421 MB / 1.229 GB, free: 2.91 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005676/0.9549, allocations: 365.3 kB / 1.229 GB, free: 2.547 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.9551, allocations: 87.94 kB / 1.229 GB, free: 2.461 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004157/0.9593, allocations: 5.326 MB / 1.235 GB, free: 12.96 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.9593, allocations: 0 / 1.235 GB, free: 12.96 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009491/0.9687, allocations: 7.749 MB / 1.242 GB, free: 5.133 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00295/0.9717, allocations: 1.142 MB / 1.243 GB, free: 3.992 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007272/0.9724, allocations: 64 kB / 1.243 GB, free: 3.93 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/0.9742, allocations: 202.3 kB / 1.243 GB, free: 3.734 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/0.9745, allocations: 214 kB / 1.244 GB, free: 3.523 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/0.9747, allocations: 143.9 kB / 1.244 GB, free: 3.383 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.004955/0.9796, allocations: 3.974 MB / 1.248 GB, free: 15.43 MB / 1.073 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9796, allocations: 0 / 1.248 GB, free: 15.43 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.005148/0.9848, allocations: 2.02 MB / 1.25 GB, free: 13.41 MB / 1.073 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.008858/0.9937, allocations: 8.681 MB / 1.258 GB, free: 4.691 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.00687/1.001, allocations: 5.263 MB / 1.263 GB, free: 15.55 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.001, allocations: 0.9375 kB / 1.263 GB, free: 15.55 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/1.003, allocations: 2.379 MB / 1.266 GB, free: 13.21 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0117/1.015, allocations: 3.38 MB / 1.269 GB, free: 9.918 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06969/1.084, allocations: 52.58 MB / 1.32 GB, free: 3.504 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003355/1.088, allocations: 4.149 MB / 1.324 GB, free: 15.31 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005104/1.093, allocations: 2.077 MB / 1.326 GB, free: 13.24 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002936/1.096, allocations: 2.675 MB / 1.329 GB, free: 10.57 MB / 1.151 GB Notification: Performance of SimCode: time 1.443e-06/1.096, allocations: 0 / 1.329 GB, free: 10.57 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1852/1.281, allocations: 170.5 MB / 1.495 GB, free: 2.766 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.46, allocations: 2.656 kB / 1.495 GB, free: 2.766 MB / 1.307 GB " [Timeout remaining time 284] (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/jenkins/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: 19.94541645795107]