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.001518/0.001518, allocations: 117.4 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.001889/0.001889, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.453/1.453, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.965/2.965, allocations: 0.5003 GB / 0.8026 GB, free: 6.867 MB / 0.6387 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.002209/0.002209, allocations: 59.91 kB / 1.165 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04898/1.113, allocations: 49.97 MB / 1.389 GB, free: 12.5 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02275/1.136, allocations: 13.9 MB / 1.402 GB, free: 2.535 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004255/1.14, allocations: 91.91 kB / 1.403 GB, free: 2.488 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003457/1.144, allocations: 0.8403 MB / 1.403 GB, free: 1.98 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009054/1.153, allocations: 2.359 MB / 1.406 GB, free: 0.5742 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004534/1.157, allocations: 1.316 MB / 1.407 GB, free: 15.84 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.02534/1.182, allocations: 19.63 MB / 1.426 GB, free: 6.035 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0128/1.195, allocations: 8.191 MB / 1.434 GB, free: 1.309 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0176/1.213, allocations: 6.867 MB / 1.441 GB, free: 13.59 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01437/1.227, allocations: 5.965 MB / 1.447 GB, free: 9.938 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00385/1.231, allocations: 0.848 MB / 1.448 GB, free: 9.934 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009961/1.241, allocations: 1.663 MB / 1.449 GB, free: 8.812 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.005564/1.247, allocations: 2.196 MB / 1.451 GB, free: 6.609 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0135/1.26, allocations: 4.303 MB / 1.455 GB, free: 2.289 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02256/1.283, allocations: 12.19 MB / 1.467 GB, free: 6.059 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/1.283, allocations: 3.984 kB / 1.467 GB, free: 6.055 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.014e-06/1.283, allocations: 0 / 1.467 GB, free: 6.055 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0007355/1.283, allocations: 0 / 1.467 GB, free: 6.055 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.0276/1.311, allocations: 7.925 MB / 1.475 GB, free: 14.04 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.311, allocations: 11.97 kB / 1.475 GB, free: 14.03 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000197/1.311, allocations: 143.2 kB / 1.475 GB, free: 13.89 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00326/1.314, allocations: 0.7681 MB / 1.476 GB, free: 13.11 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006673/1.321, allocations: 0.879 MB / 1.477 GB, free: 12.23 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01685/1.338, allocations: 6.353 MB / 1.483 GB, free: 5.816 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005413/1.339, allocations: 423 kB / 1.484 GB, free: 5.402 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002647/1.341, allocations: 0.539 MB / 1.484 GB, free: 4.863 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02386/1.365, allocations: 8.072 MB / 1.492 GB, free: 12.55 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002764/1.365, allocations: 19.89 kB / 1.492 GB, free: 12.53 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001725/1.367, allocations: 240 kB / 1.492 GB, free: 12.3 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002259/1.367, allocations: 159.9 kB / 1.492 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/1.384, allocations: 6.528 MB / 1.499 GB, free: 5.602 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.06122/1.445, allocations: 31.31 MB / 1.529 GB, free: 4.457 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007764/1.453, allocations: 3.436 MB / 1.533 GB, free: 1.035 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005205/1.458, allocations: 2.578 MB / 1.535 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/1.459, allocations: 0.828 MB / 1.536 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/1.459, allocations: 72.67 kB / 1.536 GB, free: 13.37 MB / 1.217 GB Notification: Performance of pre-optimization done (n=267): time 6.973e-06/1.459, allocations: 0 / 1.536 GB, free: 13.37 MB / 1.217 GB Notification: Performance of matching and sorting (n=267): time 0.01471/1.474, allocations: 5.777 MB / 1.542 GB, free: 7.496 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/1.474, allocations: 77.52 kB / 1.542 GB, free: 7.406 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01416/1.488, allocations: 5.232 MB / 1.547 GB, free: 2.176 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0008752/1.489, allocations: 81.7 kB / 1.547 GB, free: 2.09 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.004161/1.493, allocations: 2.93 MB / 1.55 GB, free: 15.14 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00214/1.496, allocations: 0.98 MB / 1.551 GB, free: 14.15 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00266/1.498, allocations: 0.7195 MB / 1.551 GB, free: 13.42 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.498, allocations: 305.1 kB / 1.552 GB, free: 13.12 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003529/1.502, allocations: 1.678 MB / 1.553 GB, free: 11.44 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004618/1.507, allocations: 2.932 MB / 1.556 GB, free: 7.957 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008353/1.515, allocations: 4.962 MB / 1.561 GB, free: 2.402 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.905e-05/1.515, allocations: 12 kB / 1.561 GB, free: 2.391 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01418/1.529, allocations: 5.451 MB / 1.566 GB, free: 12.89 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/1.529, allocations: 20 kB / 1.566 GB, free: 12.87 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.418e-05/1.529, allocations: 40 kB / 1.566 GB, free: 12.83 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/1.531, allocations: 433.8 kB / 1.567 GB, free: 12.4 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/1.534, allocations: 0.8541 MB / 1.568 GB, free: 11.54 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007477/1.542, allocations: 5.707 MB / 1.573 GB, free: 5.562 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005262/1.547, allocations: 0.5315 MB / 1.574 GB, free: 5.027 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008694/1.548, allocations: 176 kB / 1.574 GB, free: 4.855 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.005607/1.554, allocations: 2.28 MB / 1.576 GB, free: 2.562 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002208/1.556, allocations: 0.5007 MB / 1.577 GB, free: 2.059 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.567, allocations: 4.168 MB / 1.581 GB, free: 13.83 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.821e-05/1.567, allocations: 28 kB / 1.581 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.731e-05/1.567, allocations: 8 kB / 1.581 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006835/1.574, allocations: 3.623 MB / 1.584 GB, free: 10.06 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02701/1.601, allocations: 10.26 MB / 1.594 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/1.601, allocations: 4 kB / 1.594 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.603, allocations: 0.4993 MB / 1.595 GB, free: 15.12 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009969/1.604, allocations: 371.9 kB / 1.595 GB, free: 14.75 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000421/1.605, allocations: 79.95 kB / 1.595 GB, free: 14.67 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006907/1.611, allocations: 5.66 MB / 1.601 GB, free: 8.738 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.082e-05/1.611, allocations: 15.94 kB / 1.601 GB, free: 8.723 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/1.627, allocations: 6.249 MB / 1.607 GB, free: 2.301 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00443/1.632, allocations: 1.126 MB / 1.608 GB, free: 1.152 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/1.633, allocations: 63.98 kB / 1.608 GB, free: 1.09 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004203/1.638, allocations: 171.6 kB / 1.608 GB, free: 0.9219 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007083/1.638, allocations: 181.6 kB / 1.608 GB, free: 0.7461 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006432/1.639, allocations: 123.9 kB / 1.609 GB, free: 0.625 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.009277/1.648, allocations: 3.843 MB / 1.612 GB, free: 12.79 MB / 1.295 GB Notification: Performance of sort global known variables: time 5.21e-07/1.648, allocations: 0 / 1.612 GB, free: 12.79 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.008715/1.657, allocations: 1.821 MB / 1.614 GB, free: 10.97 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.01634/1.673, allocations: 7.171 MB / 1.621 GB, free: 3.621 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009154/1.683, allocations: 4.132 MB / 1.625 GB, free: 15.45 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/1.683, allocations: 1.875 kB / 1.625 GB, free: 15.45 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/1.687, allocations: 1.934 MB / 1.627 GB, free: 13.49 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01918/1.706, allocations: 3.444 MB / 1.63 GB, free: 10.14 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1059/1.812, allocations: 47.1 MB / 1.676 GB, free: 9.34 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00725/1.819, allocations: 4.303 MB / 1.681 GB, free: 5 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.007194/1.826, allocations: 1.856 MB / 1.682 GB, free: 3.156 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005777/1.832, allocations: 2.452 MB / 1.685 GB, free: 0.707 MB / 1.357 GB Notification: Performance of SimCode: time 1.432e-06/1.832, allocations: 0 / 1.685 GB, free: 0.707 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2697/2.102, allocations: 154.7 MB / 1.836 GB, free: 7.145 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.49/22.59, allocations: 8 kB / 1.836 GB, free: 7.137 MB / 1.514 GB " [Timeout remaining time 277] (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: 29.869908585969824]