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.001286/0.001286, allocations: 119.5 kB / 17.17 MB, free: 5.977 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.00136/0.00136, allocations: 205.5 kB / 20.13 MB, free: 3.039 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.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.812/2.812, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_12_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.00224/0.00224, allocations: 67.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9863/0.9886, allocations: 176.1 MB / 1.321 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04554/1.034, allocations: 49.96 MB / 1.37 GB, free: 4.941 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02275/1.057, allocations: 13.92 MB / 1.384 GB, free: 10.96 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003861/1.061, allocations: 88.28 kB / 1.384 GB, free: 10.92 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002785/1.064, allocations: 0.8362 MB / 1.385 GB, free: 10.41 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007481/1.071, allocations: 2.361 MB / 1.387 GB, free: 9.004 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/1.075, allocations: 1.321 MB / 1.388 GB, free: 8.27 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02836/1.103, allocations: 19.62 MB / 1.407 GB, free: 14.89 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/1.116, allocations: 8.186 MB / 1.415 GB, free: 11.46 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01825/1.134, allocations: 6.865 MB / 1.422 GB, free: 8.465 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01351/1.147, allocations: 5.964 MB / 1.428 GB, free: 5.871 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003195/1.15, allocations: 0.8447 MB / 1.429 GB, free: 5.871 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00768/1.158, allocations: 1.654 MB / 1.43 GB, free: 5.488 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003665/1.162, allocations: 2.209 MB / 1.433 GB, free: 3.773 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.009538/1.171, allocations: 4.298 MB / 1.437 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01806/1.189, allocations: 12.2 MB / 1.449 GB, free: 7.227 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.189, allocations: 0 / 1.449 GB, free: 7.227 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.134e-06/1.189, allocations: 0 / 1.449 GB, free: 7.227 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003542/1.19, allocations: 0 / 1.449 GB, free: 7.227 MB / 1.123 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.01892/1.209, allocations: 7.929 MB / 1.456 GB, free: 15.21 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.209, allocations: 15.98 kB / 1.456 GB, free: 15.19 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001473/1.209, allocations: 143.2 kB / 1.457 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001761/1.211, allocations: 0.7758 MB / 1.457 GB, free: 14.27 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/1.214, allocations: 0.875 MB / 1.458 GB, free: 13.39 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01436/1.229, allocations: 6.36 MB / 1.464 GB, free: 6.973 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/1.229, allocations: 419 kB / 1.465 GB, free: 6.562 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001826/1.231, allocations: 0.5429 MB / 1.465 GB, free: 6.02 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/1.249, allocations: 8.072 MB / 1.473 GB, free: 13.71 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/1.25, allocations: 19.83 kB / 1.473 GB, free: 13.69 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007593/1.25, allocations: 240 kB / 1.474 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/1.25, allocations: 163.9 kB / 1.474 GB, free: 13.29 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/1.265, allocations: 6.528 MB / 1.48 GB, free: 6.754 MB / 1.154 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.04934/1.315, allocations: 31.29 MB / 1.511 GB, free: 5.637 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005665/1.32, allocations: 3.451 MB / 1.514 GB, free: 2.188 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003839/1.324, allocations: 2.577 MB / 1.516 GB, free: 15.6 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/1.325, allocations: 0.828 MB / 1.517 GB, free: 14.6 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.406e-05/1.325, allocations: 72.66 kB / 1.517 GB, free: 14.52 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 4.098e-06/1.325, allocations: 0 / 1.517 GB, free: 14.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.01124/1.337, allocations: 5.781 MB / 1.523 GB, free: 8.641 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/1.337, allocations: 81.52 kB / 1.523 GB, free: 8.547 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009049/1.346, allocations: 5.228 MB / 1.528 GB, free: 3.32 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0008311/1.347, allocations: 81.7 kB / 1.528 GB, free: 3.234 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00297/1.35, allocations: 2.934 MB / 1.531 GB, free: 284 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001983/1.352, allocations: 0.9763 MB / 1.532 GB, free: 15.29 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/1.353, allocations: 0.7195 MB / 1.533 GB, free: 14.56 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.353, allocations: 304.9 kB / 1.533 GB, free: 14.27 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/1.356, allocations: 1.678 MB / 1.535 GB, free: 12.59 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003836/1.36, allocations: 2.936 MB / 1.538 GB, free: 9.102 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/1.367, allocations: 4.962 MB / 1.542 GB, free: 3.547 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.954e-05/1.367, allocations: 12 kB / 1.542 GB, free: 3.535 MB / 1.217 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01007/1.377, allocations: 5.455 MB / 1.548 GB, free: 14.03 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/1.377, allocations: 24 kB / 1.548 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.947e-05/1.377, allocations: 43.94 kB / 1.548 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/1.378, allocations: 414 kB / 1.548 GB, free: 13.55 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/1.381, allocations: 0.8619 MB / 1.549 GB, free: 12.69 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006401/1.387, allocations: 5.699 MB / 1.555 GB, free: 6.719 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005899/1.393, allocations: 0.5354 MB / 1.555 GB, free: 6.18 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007499/1.394, allocations: 180 kB / 1.555 GB, free: 6.004 MB / 1.232 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.006109/1.4, allocations: 2.278 MB / 1.558 GB, free: 3.715 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002191/1.402, allocations: 0.5085 MB / 1.558 GB, free: 3.203 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008457/1.411, allocations: 4.166 MB / 1.562 GB, free: 14.98 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/1.411, allocations: 28 kB / 1.562 GB, free: 14.95 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.411, allocations: 7.938 kB / 1.562 GB, free: 14.95 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005625/1.416, allocations: 3.624 MB / 1.566 GB, free: 11.21 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/1.438, allocations: 10.26 MB / 1.576 GB, free: 0.7695 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/1.438, allocations: 8.031 kB / 1.576 GB, free: 0.7617 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/1.44, allocations: 0.4993 MB / 1.576 GB, free: 268 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009594/1.441, allocations: 372.1 kB / 1.577 GB, free: 15.89 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/1.441, allocations: 75.97 kB / 1.577 GB, free: 15.82 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006359/1.447, allocations: 5.649 MB / 1.582 GB, free: 9.887 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.447, allocations: 4 kB / 1.582 GB, free: 9.883 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/1.459, allocations: 6.257 MB / 1.588 GB, free: 3.457 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003641/1.462, allocations: 1.122 MB / 1.589 GB, free: 2.312 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001652/1.464, allocations: 67.97 kB / 1.589 GB, free: 2.246 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003927/1.468, allocations: 179.8 kB / 1.59 GB, free: 2.07 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/1.468, allocations: 177.6 kB / 1.59 GB, free: 1.895 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004124/1.469, allocations: 127.9 kB / 1.59 GB, free: 1.77 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.009501/1.478, allocations: 3.835 MB / 1.594 GB, free: 13.95 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.21e-07/1.478, allocations: 0 / 1.594 GB, free: 13.95 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.009878/1.488, allocations: 1.821 MB / 1.595 GB, free: 12.12 MB / 1.279 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.01537/1.504, allocations: 7.174 MB / 1.602 GB, free: 4.777 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.008334/1.512, allocations: 4.129 MB / 1.606 GB, free: 0.6055 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.512, allocations: 4 kB / 1.606 GB, free: 0.6016 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003389/1.515, allocations: 1.934 MB / 1.608 GB, free: 14.64 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02283/1.538, allocations: 3.453 MB / 1.612 GB, free: 11.29 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1127/1.651, allocations: 47.1 MB / 1.658 GB, free: 10.5 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005721/1.657, allocations: 4.299 MB / 1.662 GB, free: 6.164 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.006091/1.663, allocations: 1.853 MB / 1.664 GB, free: 4.324 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005094/1.668, allocations: 2.452 MB / 1.666 GB, free: 1.871 MB / 1.342 GB Notification: Performance of SimCode: time 1.923e-06/1.668, allocations: 0 / 1.666 GB, free: 1.871 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.274/1.942, allocations: 154.7 MB / 1.817 GB, free: 8.148 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.13/22.07, allocations: 7.797 kB / 1.817 GB, free: 8.141 MB / 1.498 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: 29.20259524899302]