Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.00128/0.00128, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001853/0.001853, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.181/3.181, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.001986/0.001986, allocations: 62.3 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3868, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05243/0.4393, allocations: 45.44 MB / 1.39 GB, free: 2.344 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01994/0.4592, allocations: 12.93 MB / 1.402 GB, free: 5.383 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.462, allocations: 91.25 kB / 1.402 GB, free: 5.293 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.4642, allocations: 0.8149 MB / 1.403 GB, free: 4.473 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006419/0.4706, allocations: 2.391 MB / 1.405 GB, free: 2.07 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.474, allocations: 1.369 MB / 1.407 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02154/0.4956, allocations: 20.15 MB / 1.427 GB, free: 12.51 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009537/0.5051, allocations: 6.443 MB / 1.433 GB, free: 5.945 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/0.5199, allocations: 6.94 MB / 1.44 GB, free: 15.03 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/0.5308, allocations: 5.965 MB / 1.445 GB, free: 9.039 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002828/0.5336, allocations: 0.8477 MB / 1.446 GB, free: 8.191 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006208/0.5399, allocations: 1.487 MB / 1.448 GB, free: 6.703 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003785/0.5436, allocations: 2.204 MB / 1.45 GB, free: 4.492 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.009433/0.5531, allocations: 3.521 MB / 1.453 GB, free: 0.957 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.5682, allocations: 12.23 MB / 1.465 GB, free: 4.691 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.5682, allocations: 0 / 1.465 GB, free: 4.691 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5682, allocations: 0 / 1.465 GB, free: 4.691 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0003459/0.5686, allocations: 0 / 1.465 GB, free: 4.691 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01868/0.5873, allocations: 7.853 MB / 1.473 GB, free: 12.77 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.5873, allocations: 12.03 kB / 1.473 GB, free: 12.76 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001758/0.5875, allocations: 143.2 kB / 1.473 GB, free: 12.62 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002017/0.5895, allocations: 0.7681 MB / 1.474 GB, free: 11.84 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/0.5934, allocations: 0.8828 MB / 1.475 GB, free: 10.95 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.6085, allocations: 6.38 MB / 1.481 GB, free: 4.488 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/0.6089, allocations: 423 kB / 1.481 GB, free: 4.074 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002377/0.6113, allocations: 0.539 MB / 1.482 GB, free: 3.535 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/0.6322, allocations: 9.131 MB / 1.491 GB, free: 9.91 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/0.6325, allocations: 19.83 kB / 1.491 GB, free: 9.891 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/0.6342, allocations: 244 kB / 1.491 GB, free: 9.652 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.6344, allocations: 159.9 kB / 1.491 GB, free: 9.496 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.6505, allocations: 6.536 MB / 1.498 GB, free: 2.949 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.05076/0.7012, allocations: 23.33 MB / 1.52 GB, free: 11.21 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006408/0.7076, allocations: 3.438 MB / 1.524 GB, free: 7.773 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004618/0.7123, allocations: 2.567 MB / 1.526 GB, free: 5.195 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007495/0.713, allocations: 146 kB / 1.526 GB, free: 5.051 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.7131, allocations: 72.66 kB / 1.526 GB, free: 4.969 MB / 1.217 GB Notification: Performance of pre-optimization done (n=267): time 6.983e-06/0.7131, allocations: 0 / 1.526 GB, free: 4.969 MB / 1.217 GB Notification: Performance of matching and sorting (n=267): time 0.01314/0.7263, allocations: 5.626 MB / 1.532 GB, free: 15.28 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.7264, allocations: 77.52 kB / 1.532 GB, free: 15.19 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/0.7375, allocations: 5.239 MB / 1.537 GB, free: 9.953 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0007048/0.7382, allocations: 85.69 kB / 1.537 GB, free: 9.863 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.003008/0.7412, allocations: 2.93 MB / 1.54 GB, free: 6.91 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001884/0.7431, allocations: 0.9839 MB / 1.541 GB, free: 5.918 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.7444, allocations: 0.7118 MB / 1.542 GB, free: 5.199 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7445, allocations: 309.1 kB / 1.542 GB, free: 4.895 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0029/0.7474, allocations: 1.674 MB / 1.544 GB, free: 3.219 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/0.7514, allocations: 3.04 MB / 1.547 GB, free: 15.6 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007552/0.7589, allocations: 4.97 MB / 1.551 GB, free: 10.04 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.31e-05/0.759, allocations: 12 kB / 1.551 GB, free: 10.03 MB / 1.248 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0116/0.7706, allocations: 5.44 MB / 1.557 GB, free: 4.535 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/0.7706, allocations: 20 kB / 1.557 GB, free: 4.516 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.281e-05/0.7707, allocations: 40 kB / 1.557 GB, free: 4.477 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.772, allocations: 431.8 kB / 1.557 GB, free: 4.051 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/0.7758, allocations: 0.858 MB / 1.558 GB, free: 3.191 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007376/0.7831, allocations: 5.426 MB / 1.563 GB, free: 13.54 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/0.7884, allocations: 0.5393 MB / 1.564 GB, free: 13 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006317/0.7891, allocations: 176 kB / 1.564 GB, free: 12.83 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.005244/0.7943, allocations: 2.28 MB / 1.566 GB, free: 10.54 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00234/0.7966, allocations: 0.5007 MB / 1.567 GB, free: 10.03 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008759/0.8054, allocations: 4.167 MB / 1.571 GB, free: 5.809 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/0.8054, allocations: 32 kB / 1.571 GB, free: 5.777 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.8055, allocations: 4 kB / 1.571 GB, free: 5.773 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005654/0.8111, allocations: 3.624 MB / 1.574 GB, free: 2.035 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/0.8309, allocations: 9.544 MB / 1.584 GB, free: 8.324 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.8309, allocations: 4 kB / 1.584 GB, free: 8.32 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/0.8331, allocations: 0.4998 MB / 1.584 GB, free: 7.82 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009114/0.834, allocations: 377.3 kB / 1.585 GB, free: 7.445 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.8342, allocations: 71.97 kB / 1.585 GB, free: 7.375 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006475/0.8407, allocations: 5.367 MB / 1.59 GB, free: 1.789 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.8407, allocations: 12.06 kB / 1.59 GB, free: 1.777 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.8517, allocations: 6.261 MB / 1.596 GB, free: 11.34 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003571/0.8553, allocations: 1.08 MB / 1.597 GB, free: 10.25 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/0.8566, allocations: 63.98 kB / 1.597 GB, free: 10.19 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/0.8602, allocations: 175.8 kB / 1.597 GB, free: 10.02 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004103/0.8606, allocations: 185.5 kB / 1.597 GB, free: 9.84 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003491/0.861, allocations: 127.9 kB / 1.598 GB, free: 9.715 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007629/0.8686, allocations: 3.847 MB / 1.601 GB, free: 5.883 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8686, allocations: 0 / 1.601 GB, free: 5.883 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007984/0.8766, allocations: 1.821 MB / 1.603 GB, free: 4.059 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.7937/1.67, allocations: 7.178 MB / 1.61 GB, free: 241 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007796/1.678, allocations: 4.13 MB / 1.614 GB, free: 240.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/1.678, allocations: 3.094 kB / 1.614 GB, free: 240.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/1.681, allocations: 1.931 MB / 1.616 GB, free: 239.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01699/1.698, allocations: 3.452 MB / 1.619 GB, free: 238.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07819/1.776, allocations: 47.19 MB / 1.665 GB, free: 215.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003044/1.779, allocations: 3.812 MB / 1.669 GB, free: 211.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006169/1.786, allocations: 1.856 MB / 1.671 GB, free: 209.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003577/1.789, allocations: 2.453 MB / 1.673 GB, free: 207.2 MB / 1.295 GB Notification: Performance of SimCode: time 2.084e-06/1.789, allocations: 0 / 1.673 GB, free: 207.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2033/1.992, allocations: 164.9 MB / 1.834 GB, free: 44.27 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.82/23.82, allocations: 6.562 kB / 1.834 GB, free: 44.27 MB / 1.295 GB " [Timeout remaining time 276] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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: 31.203470565960743]