Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001659/0.001659, allocations: 108.5 kB / 16.46 MB, free: 6.453 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.001769/0.001769, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.421/1.421, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.097/3.097, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.StratifiedNonUniformInitial,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",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.001965/0.001965, allocations: 71.3 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3349, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05399/0.3889, allocations: 49.96 MB / 1.37 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02141/0.4103, allocations: 13.91 MB / 1.383 GB, free: 3.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.4136, allocations: 95.25 kB / 1.383 GB, free: 3.156 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.4164, allocations: 0.8343 MB / 1.384 GB, free: 2.316 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007533/0.4239, allocations: 2.36 MB / 1.386 GB, free: 15.94 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00422/0.4281, allocations: 1.316 MB / 1.388 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02408/0.4522, allocations: 19.63 MB / 1.407 GB, free: 10.96 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01214/0.4643, allocations: 8.189 MB / 1.415 GB, free: 2.648 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02025/0.4846, allocations: 6.867 MB / 1.422 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01267/0.4973, allocations: 5.965 MB / 1.427 GB, free: 5.809 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002993/0.5002, allocations: 0.8438 MB / 1.428 GB, free: 4.965 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007045/0.5073, allocations: 1.659 MB / 1.43 GB, free: 3.309 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004827/0.5121, allocations: 2.208 MB / 1.432 GB, free: 1.094 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01174/0.5239, allocations: 4.299 MB / 1.436 GB, free: 12.77 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02112/0.545, allocations: 12.19 MB / 1.448 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.545, allocations: 0 / 1.448 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.823e-06/0.545, allocations: 0 / 1.448 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004383/0.5454, allocations: 0 / 1.448 GB, free: 0.5508 MB / 1.139 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.02219/0.5676, allocations: 7.929 MB / 1.456 GB, free: 8.535 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.5677, allocations: 15.98 kB / 1.456 GB, free: 8.52 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002816/0.5705, allocations: 0.7641 MB / 1.457 GB, free: 7.746 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.5755, allocations: 0.8829 MB / 1.457 GB, free: 6.859 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01589/0.5913, allocations: 6.354 MB / 1.464 GB, free: 456 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005531/0.5919, allocations: 419.2 kB / 1.464 GB, free: 36 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/0.5942, allocations: 0.5429 MB / 1.465 GB, free: 15.49 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02251/0.6167, allocations: 8.072 MB / 1.472 GB, free: 7.18 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002595/0.6169, allocations: 15.89 kB / 1.472 GB, free: 7.164 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00171/0.6186, allocations: 236 kB / 1.473 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/0.6188, allocations: 175.9 kB / 1.473 GB, free: 6.762 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.6341, allocations: 6.524 MB / 1.479 GB, free: 232 kB / 1.17 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.05486/0.689, allocations: 31.31 MB / 1.51 GB, free: 15.09 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006754/0.6958, allocations: 3.455 MB / 1.513 GB, free: 11.64 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00463/0.7004, allocations: 2.573 MB / 1.516 GB, free: 9.055 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/0.7016, allocations: 0.8241 MB / 1.516 GB, free: 8.062 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.282e-05/0.7016, allocations: 80.66 kB / 1.517 GB, free: 7.973 MB / 1.217 GB Notification: Performance of pre-optimization done (n=267): time 6.362e-06/0.7017, allocations: 0 / 1.517 GB, free: 7.973 MB / 1.217 GB Notification: Performance of matching and sorting (n=267): time 0.01274/0.7144, allocations: 5.773 MB / 1.522 GB, free: 2.102 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.7145, allocations: 77.52 kB / 1.522 GB, free: 2.012 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/0.7258, allocations: 5.236 MB / 1.527 GB, free: 12.77 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0007393/0.7265, allocations: 77.7 kB / 1.527 GB, free: 12.69 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.003406/0.7299, allocations: 2.942 MB / 1.53 GB, free: 9.73 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001723/0.7317, allocations: 0.98 MB / 1.531 GB, free: 8.742 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/0.733, allocations: 0.7156 MB / 1.532 GB, free: 8.02 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.7332, allocations: 305.1 kB / 1.532 GB, free: 7.719 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002913/0.7361, allocations: 1.678 MB / 1.534 GB, free: 6.039 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003938/0.74, allocations: 2.928 MB / 1.537 GB, free: 2.559 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007187/0.7472, allocations: 4.966 MB / 1.542 GB, free: 13 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-05/0.7473, allocations: 12 kB / 1.542 GB, free: 12.98 MB / 1.248 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01047/0.7577, allocations: 5.452 MB / 1.547 GB, free: 7.48 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.7578, allocations: 20 kB / 1.547 GB, free: 7.461 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.418e-05/0.7578, allocations: 40 kB / 1.547 GB, free: 7.422 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.7589, allocations: 423.5 kB / 1.547 GB, free: 7.004 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/0.7622, allocations: 0.8657 MB / 1.548 GB, free: 6.137 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/0.7689, allocations: 5.694 MB / 1.554 GB, free: 180 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/0.7732, allocations: 0.5317 MB / 1.554 GB, free: 15.64 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004839/0.7737, allocations: 180.2 kB / 1.555 GB, free: 15.46 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.004745/0.7784, allocations: 2.28 MB / 1.557 GB, free: 13.17 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001947/0.7804, allocations: 0.5085 MB / 1.557 GB, free: 12.66 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008633/0.789, allocations: 4.16 MB / 1.561 GB, free: 8.441 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/0.789, allocations: 28 kB / 1.561 GB, free: 8.414 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.7891, allocations: 4 kB / 1.561 GB, free: 8.41 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00588/0.7949, allocations: 3.624 MB / 1.565 GB, free: 4.672 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/0.8167, allocations: 10.25 MB / 1.575 GB, free: 10.24 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/0.8167, allocations: 11.98 kB / 1.575 GB, free: 10.23 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/0.819, allocations: 0.4998 MB / 1.575 GB, free: 9.73 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.8201, allocations: 375.7 kB / 1.576 GB, free: 9.359 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002949/0.8204, allocations: 75.97 kB / 1.576 GB, free: 9.285 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007156/0.8275, allocations: 5.644 MB / 1.581 GB, free: 3.359 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.965e-05/0.8275, allocations: 11.88 kB / 1.581 GB, free: 3.348 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.84, allocations: 6.264 MB / 1.587 GB, free: 12.91 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003421/0.8434, allocations: 1.122 MB / 1.589 GB, free: 11.77 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/0.845, allocations: 59.98 kB / 1.589 GB, free: 11.71 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003865/0.8489, allocations: 187.8 kB / 1.589 GB, free: 11.52 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005091/0.8494, allocations: 173.6 kB / 1.589 GB, free: 11.35 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005452/0.85, allocations: 127.9 kB / 1.589 GB, free: 11.23 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008902/0.8589, allocations: 3.843 MB / 1.593 GB, free: 7.398 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8589, allocations: 0 / 1.593 GB, free: 7.398 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007728/0.8666, allocations: 1.817 MB / 1.595 GB, free: 5.578 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.7621/1.629, allocations: 7.165 MB / 1.602 GB, free: 259.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008503/1.637, allocations: 4.127 MB / 1.606 GB, free: 259 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/1.637, allocations: 1.938 kB / 1.606 GB, free: 259 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003385/1.641, allocations: 1.928 MB / 1.608 GB, free: 258.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01844/1.659, allocations: 3.458 MB / 1.611 GB, free: 257.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07408/1.733, allocations: 47.09 MB / 1.657 GB, free: 232.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003263/1.736, allocations: 4.299 MB / 1.661 GB, free: 228.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005963/1.742, allocations: 1.854 MB / 1.663 GB, free: 226.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00354/1.746, allocations: 2.448 MB / 1.665 GB, free: 224.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.483e-06/1.746, allocations: 3.938 kB / 1.665 GB, free: 224.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1968/1.943, allocations: 154.6 MB / 1.816 GB, free: 70.57 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.61/21.56, allocations: 14.39 kB / 1.816 GB, free: 70.55 MB / 1.295 GB " [Timeout remaining time 278] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 28.555349417962134]