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.001498/0.001498, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001697/0.001697, allocations: 225.2 kB / 22.25 MB, free: 5.254 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.793 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.925/2.925, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.00187/0.00187, allocations: 68.89 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3151, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0485/0.3636, allocations: 45.49 MB / 1.37 GB, free: 3.867 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.3817, allocations: 12.96 MB / 1.383 GB, free: 6.879 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.3836, allocations: 91.25 kB / 1.383 GB, free: 6.789 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.3856, allocations: 0.8071 MB / 1.384 GB, free: 5.977 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005603/0.3912, allocations: 2.4 MB / 1.386 GB, free: 3.566 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.3943, allocations: 1.375 MB / 1.387 GB, free: 2.199 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02031/0.4146, allocations: 20.14 MB / 1.407 GB, free: 14 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008892/0.4235, allocations: 6.459 MB / 1.413 GB, free: 7.418 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.4359, allocations: 6.929 MB / 1.42 GB, free: 0.5117 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.446, allocations: 5.969 MB / 1.426 GB, free: 10.52 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002695/0.4487, allocations: 0.8477 MB / 1.427 GB, free: 9.672 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/0.4542, allocations: 1.491 MB / 1.428 GB, free: 8.18 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003587/0.4578, allocations: 2.2 MB / 1.43 GB, free: 5.973 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.007299/0.4651, allocations: 3.521 MB / 1.434 GB, free: 2.438 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.48, allocations: 12.23 MB / 1.446 GB, free: 6.172 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.48, allocations: 0 / 1.446 GB, free: 6.172 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.774e-06/0.48, allocations: 0 / 1.446 GB, free: 6.172 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003383/0.4803, allocations: 0 / 1.446 GB, free: 6.172 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.01765/0.4979, allocations: 7.861 MB / 1.454 GB, free: 14.24 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.498, allocations: 12.03 kB / 1.454 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001708/0.4997, allocations: 0.772 MB / 1.454 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003604/0.5033, allocations: 0.875 MB / 1.455 GB, free: 12.57 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/0.5173, allocations: 6.394 MB / 1.461 GB, free: 6.098 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/0.5177, allocations: 423.2 kB / 1.462 GB, free: 5.684 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.519, allocations: 0.5351 MB / 1.462 GB, free: 5.148 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.537, allocations: 9.143 MB / 1.471 GB, free: 11.51 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001544/0.5372, allocations: 19.83 kB / 1.471 GB, free: 11.49 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007033/0.5379, allocations: 232 kB / 1.471 GB, free: 11.26 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/0.5381, allocations: 167.9 kB / 1.472 GB, free: 11.1 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01292/0.551, allocations: 6.512 MB / 1.478 GB, free: 4.574 MB / 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.04014/0.5911, allocations: 23.34 MB / 1.501 GB, free: 12.83 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005399/0.5965, allocations: 3.429 MB / 1.504 GB, free: 9.398 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003721/0.6003, allocations: 2.567 MB / 1.507 GB, free: 6.82 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/0.6009, allocations: 146 kB / 1.507 GB, free: 6.676 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.453e-05/0.601, allocations: 68.67 kB / 1.507 GB, free: 6.598 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 5.16e-06/0.601, allocations: 4 kB / 1.507 GB, free: 6.594 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.0108/0.6118, allocations: 5.634 MB / 1.512 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.6118, allocations: 77.52 kB / 1.512 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007864/0.6197, allocations: 5.305 MB / 1.518 GB, free: 11.5 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000583/0.6203, allocations: 85.7 kB / 1.518 GB, free: 11.41 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002651/0.6229, allocations: 2.934 MB / 1.521 GB, free: 8.457 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/0.6243, allocations: 0.9878 MB / 1.522 GB, free: 7.461 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.6255, allocations: 0.7118 MB / 1.522 GB, free: 6.742 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6256, allocations: 305.1 kB / 1.523 GB, free: 6.441 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/0.6282, allocations: 1.678 MB / 1.524 GB, free: 4.762 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/0.6319, allocations: 3.04 MB / 1.527 GB, free: 1.145 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006871/0.6388, allocations: 4.959 MB / 1.532 GB, free: 11.59 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.425e-05/0.6388, allocations: 15.94 kB / 1.532 GB, free: 11.58 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0098/0.6486, allocations: 5.447 MB / 1.537 GB, free: 6.078 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.6486, allocations: 20 kB / 1.537 GB, free: 6.059 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-05/0.6487, allocations: 40 kB / 1.537 GB, free: 6.02 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.6497, allocations: 425.9 kB / 1.538 GB, free: 5.598 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/0.6531, allocations: 0.858 MB / 1.539 GB, free: 4.738 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/0.6592, allocations: 5.425 MB / 1.544 GB, free: 15.09 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/0.6636, allocations: 0.5314 MB / 1.544 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005724/0.6642, allocations: 188 kB / 1.545 GB, free: 14.37 MB / 1.248 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.003842/0.6681, allocations: 2.28 MB / 1.547 GB, free: 12.07 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/0.6694, allocations: 0.4969 MB / 1.547 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006727/0.6761, allocations: 4.169 MB / 1.551 GB, free: 7.348 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.6761, allocations: 24 kB / 1.551 GB, free: 7.324 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.6761, allocations: 8 kB / 1.551 GB, free: 7.316 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005234/0.6814, allocations: 3.624 MB / 1.555 GB, free: 3.578 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.699, allocations: 9.549 MB / 1.564 GB, free: 9.867 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.699, allocations: 4 kB / 1.564 GB, free: 9.863 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/0.7012, allocations: 0.4954 MB / 1.565 GB, free: 9.367 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008888/0.7021, allocations: 375 kB / 1.565 GB, free: 8.996 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.7023, allocations: 75.95 kB / 1.565 GB, free: 8.922 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005905/0.7082, allocations: 5.364 MB / 1.57 GB, free: 3.336 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.7082, allocations: 11.92 kB / 1.57 GB, free: 3.324 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.7183, allocations: 6.261 MB / 1.577 GB, free: 12.89 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003546/0.7218, allocations: 1.076 MB / 1.578 GB, free: 11.82 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009397/0.7228, allocations: 63.98 kB / 1.578 GB, free: 11.75 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/0.7253, allocations: 175.6 kB / 1.578 GB, free: 11.58 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/0.7256, allocations: 181.5 kB / 1.578 GB, free: 11.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/0.7259, allocations: 132 kB / 1.578 GB, free: 11.27 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005689/0.7316, allocations: 3.855 MB / 1.582 GB, free: 7.434 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7316, allocations: 0 / 1.582 GB, free: 7.434 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.005257/0.7368, allocations: 1.817 MB / 1.584 GB, free: 5.613 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.01029/0.7471, allocations: 7.198 MB / 1.591 GB, free: 14.23 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006662/0.7538, allocations: 4.124 MB / 1.595 GB, free: 10.07 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.7538, allocations: 4 kB / 1.595 GB, free: 10.06 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002869/0.7567, allocations: 1.935 MB / 1.597 GB, free: 8.098 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01367/0.7703, allocations: 3.457 MB / 1.6 GB, free: 4.738 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.643/1.413, allocations: 47.17 MB / 1.646 GB, free: 242.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/1.417, allocations: 3.803 MB / 1.65 GB, free: 241.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004137/1.421, allocations: 1.855 MB / 1.652 GB, free: 241.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002764/1.423, allocations: 2.449 MB / 1.654 GB, free: 239.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.312e-06/1.423, allocations: 0 / 1.654 GB, free: 239.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1877/1.611, allocations: 166.5 MB / 1.817 GB, free: 75.23 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/18.72, allocations: 4.062 kB / 1.817 GB, free: 75.23 MB / 1.295 GB " [Timeout remaining time 281] (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: 25.23720277400571]