Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008209/0.0008209, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.0009145/0.0009145, allocations: 210.8 kB / 23.02 MB, free: 2.973 MB / 13.93 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 0.9483/0.9483, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.962/1.962, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.91 kB / 1.177 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7813/0.7825, allocations: 180 MB / 1.352 GB, free: 1.711 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.02987/0.8124, allocations: 45.45 MB / 1.397 GB, free: 4.098 MB / 1.073 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.8251, allocations: 12.91 MB / 1.409 GB, free: 7.148 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.8267, allocations: 91.25 kB / 1.41 GB, free: 7.059 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.8282, allocations: 0.8031 MB / 1.41 GB, free: 6.25 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.004056/0.8323, allocations: 2.395 MB / 1.413 GB, free: 3.844 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.8343, allocations: 1.337 MB / 1.414 GB, free: 2.516 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.01238/0.8467, allocations: 20.32 MB / 1.434 GB, free: 14.15 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005771/0.8524, allocations: 6.14 MB / 1.44 GB, free: 7.91 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009468/0.8619, allocations: 6.919 MB / 1.447 GB, free: 1.012 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007684/0.8696, allocations: 6.277 MB / 1.453 GB, free: 10.71 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.8708, allocations: 0.8438 MB / 1.454 GB, free: 9.867 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003279/0.8741, allocations: 1.479 MB / 1.455 GB, free: 8.387 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.8756, allocations: 2.204 MB / 1.457 GB, free: 6.176 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.003482/0.879, allocations: 3.525 MB / 1.461 GB, free: 2.637 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.008817/0.8879, allocations: 12.21 MB / 1.472 GB, free: 6.383 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8879, allocations: 0 / 1.472 GB, free: 6.383 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8879, allocations: 0 / 1.472 GB, free: 6.383 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001528/0.888, allocations: 0 / 1.472 GB, free: 6.383 MB / 1.151 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.009346/0.8974, allocations: 7.846 MB / 1.48 GB, free: 14.47 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/0.8974, allocations: 12.92 kB / 1.48 GB, free: 14.46 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008296/0.8983, allocations: 0.7681 MB / 1.481 GB, free: 13.68 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.9005, allocations: 0.8828 MB / 1.482 GB, free: 12.79 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008676/0.9092, allocations: 6.378 MB / 1.488 GB, free: 6.336 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.9094, allocations: 419.2 kB / 1.488 GB, free: 5.926 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005268/0.9099, allocations: 0.5468 MB / 1.489 GB, free: 5.379 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009666/0.9196, allocations: 9.127 MB / 1.498 GB, free: 11.75 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.504e-05/0.9197, allocations: 15.88 kB / 1.498 GB, free: 11.74 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/0.9201, allocations: 236 kB / 1.498 GB, free: 11.51 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.9202, allocations: 168 kB / 1.498 GB, free: 11.34 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007398/0.9276, allocations: 6.512 MB / 1.505 GB, free: 4.82 MB / 1.182 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.02335/0.9509, allocations: 23.34 MB / 1.527 GB, free: 13.07 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00337/0.9543, allocations: 3.427 MB / 1.531 GB, free: 9.648 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/0.9567, allocations: 2.579 MB / 1.533 GB, free: 7.059 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/0.9571, allocations: 150 kB / 1.533 GB, free: 6.91 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.9571, allocations: 80.61 kB / 1.533 GB, free: 6.82 MB / 1.214 GB Notification: Performance of pre-optimization done (n=267): time 5.28e-06/0.9571, allocations: 0 / 1.533 GB, free: 6.82 MB / 1.214 GB Notification: Performance of matching and sorting (n=267): time 0.006968/0.9641, allocations: 5.611 MB / 1.539 GB, free: 1.148 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.9642, allocations: 85.5 kB / 1.539 GB, free: 1.051 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004804/0.969, allocations: 5.312 MB / 1.544 GB, free: 11.74 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.9692, allocations: 77.7 kB / 1.544 GB, free: 11.66 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.9708, allocations: 2.93 MB / 1.547 GB, free: 8.703 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008825/0.9716, allocations: 0.98 MB / 1.548 GB, free: 7.715 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006669/0.9723, allocations: 0.7195 MB / 1.549 GB, free: 6.988 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.9724, allocations: 309 kB / 1.549 GB, free: 6.684 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.974, allocations: 1.674 MB / 1.551 GB, free: 5.008 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.9763, allocations: 3.036 MB / 1.554 GB, free: 1.395 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004163/0.9804, allocations: 4.966 MB / 1.559 GB, free: 11.83 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/0.9804, allocations: 12 kB / 1.559 GB, free: 11.82 MB / 1.245 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006724/0.9872, allocations: 5.444 MB / 1.564 GB, free: 6.324 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.9872, allocations: 26.5 kB / 1.564 GB, free: 6.301 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.874e-05/0.9872, allocations: 43.98 kB / 1.564 GB, free: 6.258 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007489/0.988, allocations: 421.4 kB / 1.564 GB, free: 5.84 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/0.9902, allocations: 0.858 MB / 1.565 GB, free: 4.98 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/0.995, allocations: 5.423 MB / 1.571 GB, free: 15.34 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.998, allocations: 0.5277 MB / 1.571 GB, free: 14.81 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/0.9982, allocations: 176 kB / 1.571 GB, free: 14.64 MB / 1.26 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.0035/1.002, allocations: 2.285 MB / 1.573 GB, free: 12.34 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007593/1.002, allocations: 0.4969 MB / 1.574 GB, free: 11.84 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/1.008, allocations: 4.176 MB / 1.578 GB, free: 7.609 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/1.008, allocations: 28 kB / 1.578 GB, free: 7.582 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.008, allocations: 4 kB / 1.578 GB, free: 7.578 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004481/1.013, allocations: 3.631 MB / 1.582 GB, free: 3.832 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/1.026, allocations: 9.541 MB / 1.591 GB, free: 10.12 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.026, allocations: 4 kB / 1.591 GB, free: 10.12 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/1.028, allocations: 0.4998 MB / 1.591 GB, free: 9.617 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/1.028, allocations: 381.2 kB / 1.592 GB, free: 9.238 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/1.028, allocations: 71.97 kB / 1.592 GB, free: 9.168 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/1.033, allocations: 5.364 MB / 1.597 GB, free: 3.578 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.033, allocations: 11.88 kB / 1.597 GB, free: 3.566 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.044, allocations: 6.261 MB / 1.603 GB, free: 13.14 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/1.046, allocations: 1.076 MB / 1.604 GB, free: 12.06 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/1.047, allocations: 63.98 kB / 1.604 GB, free: 12 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/1.048, allocations: 175.6 kB / 1.604 GB, free: 11.82 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/1.049, allocations: 181.5 kB / 1.605 GB, free: 11.64 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.049, allocations: 127.9 kB / 1.605 GB, free: 11.52 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.003808/1.053, allocations: 3.847 MB / 1.608 GB, free: 7.688 MB / 1.292 GB Notification: Performance of sort global known variables: time 8e-08/1.053, allocations: 0 / 1.608 GB, free: 7.688 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.003217/1.056, allocations: 1.817 MB / 1.61 GB, free: 5.867 MB / 1.292 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.006652/1.063, allocations: 7.187 MB / 1.617 GB, free: 14.5 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.004672/1.067, allocations: 4.129 MB / 1.621 GB, free: 10.33 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.067, allocations: 8.125 kB / 1.621 GB, free: 10.32 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.001807/1.069, allocations: 1.926 MB / 1.623 GB, free: 8.367 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007739/1.077, allocations: 3.44 MB / 1.627 GB, free: 5.016 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05726/1.134, allocations: 47.15 MB / 1.673 GB, free: 4.164 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003236/1.137, allocations: 3.8 MB / 1.676 GB, free: 336 kB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.004926/1.142, allocations: 1.895 MB / 1.678 GB, free: 14.45 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003861/1.146, allocations: 2.444 MB / 1.681 GB, free: 12 MB / 1.37 GB Notification: Performance of SimCode: time 1.643e-06/1.146, allocations: 0 / 1.681 GB, free: 12 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8626/2.009, allocations: 164.6 MB / 1.841 GB, free: 221.7 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/12.57, allocations: 19.03 kB / 1.841 GB, free: 221.7 MB / 1.385 GB " [Timeout remaining time 287] (rm -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu) > Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu) > Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.58314599376172]