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.001081/0.001081, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001149/0.001149, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9532/0.9532, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.986/1.986, allocations: 389.6 MB / 0.6343 GB, free: 12.6 MB / 0.6042 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 2.495e-06/2.495e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.367e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03743/0.03746, allocations: 45.1 MB / 1.045 GB, free: 292 kB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.6709/0.7083, allocations: 12.9 MB / 1.057 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.7114, allocations: 88.41 kB / 1.057 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.7142, allocations: 0.8169 MB / 1.058 GB, free: 43.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.006885/0.721, allocations: 2.455 MB / 1.061 GB, free: 43.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.7245, allocations: 1.394 MB / 1.062 GB, free: 43.3 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01547/0.74, allocations: 20.5 MB / 1.082 GB, free: 34.41 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01176/0.7518, allocations: 6.142 MB / 1.088 GB, free: 31.69 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03074/0.7825, allocations: 9.425 MB / 1.097 GB, free: 28.01 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0177/0.8002, allocations: 5.747 MB / 1.103 GB, free: 26.31 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.006577/0.8068, allocations: 0.8436 MB / 1.104 GB, free: 26.31 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.8172, allocations: 1.495 MB / 1.105 GB, free: 26.13 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.006733/0.824, allocations: 2.265 MB / 1.107 GB, free: 24.85 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.01357/0.8375, allocations: 3.048 MB / 1.11 GB, free: 23.63 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0257/0.8632, allocations: 12.32 MB / 1.122 GB, free: 19.81 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.8632, allocations: 0 / 1.122 GB, free: 19.81 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.627e-06/0.8632, allocations: 0 / 1.122 GB, free: 19.81 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0006774/0.8639, allocations: 4 kB / 1.122 GB, free: 19.8 MB / 0.9948 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.03271/0.8966, allocations: 7.772 MB / 1.13 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.8967, allocations: 11.75 kB / 1.13 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004822/0.9015, allocations: 0.7626 MB / 1.131 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006598/0.9081, allocations: 0.8841 MB / 1.131 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01799/0.9261, allocations: 6.392 MB / 1.138 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005952/0.9267, allocations: 411.6 kB / 1.138 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002972/0.9297, allocations: 0.5368 MB / 1.139 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.9511, allocations: 9.139 MB / 1.148 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002054/0.9513, allocations: 23.91 kB / 1.148 GB, free: 7.262 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001006/0.9523, allocations: 236.6 kB / 1.148 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/0.9525, allocations: 162.1 kB / 1.148 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0158/0.9683, allocations: 6.512 MB / 1.154 GB, free: 4.727 MB / 0.9948 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.04655/1.015, allocations: 23.31 MB / 1.177 GB, free: 4.641 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00481/1.02, allocations: 3.437 MB / 1.18 GB, free: 1.582 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/1.023, allocations: 2.575 MB / 1.183 GB, free: 15.01 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005058/1.023, allocations: 154 kB / 1.183 GB, free: 14.86 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.919e-05/1.023, allocations: 68.67 kB / 1.183 GB, free: 14.78 MB / 1.026 GB Notification: Performance of pre-optimization done (n=267): time 4.679e-06/1.023, allocations: 3.938 kB / 1.183 GB, free: 14.78 MB / 1.026 GB Notification: Performance of matching and sorting (n=267): time 0.009261/1.033, allocations: 5.629 MB / 1.189 GB, free: 9.094 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.033, allocations: 81.52 kB / 1.189 GB, free: 9 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009515/1.042, allocations: 5.305 MB / 1.194 GB, free: 3.695 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001283/1.043, allocations: 81.7 kB / 1.194 GB, free: 3.609 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.002806/1.046, allocations: 2.916 MB / 1.197 GB, free: 0.6836 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002038/1.048, allocations: 0.9692 MB / 1.198 GB, free: 15.72 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/1.049, allocations: 0.7117 MB / 1.198 GB, free: 15 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.539e-05/1.049, allocations: 309.1 kB / 1.199 GB, free: 14.7 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/1.052, allocations: 1.674 MB / 1.2 GB, free: 13.02 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002762/1.055, allocations: 3.032 MB / 1.203 GB, free: 9.41 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005209/1.06, allocations: 4.966 MB / 1.208 GB, free: 3.852 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.184e-05/1.06, allocations: 15.75 kB / 1.208 GB, free: 3.84 MB / 1.042 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009048/1.069, allocations: 5.444 MB / 1.214 GB, free: 14.34 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/1.069, allocations: 24 kB / 1.214 GB, free: 14.32 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.972e-05/1.069, allocations: 44.12 kB / 1.214 GB, free: 14.28 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008481/1.07, allocations: 417.3 kB / 1.214 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/1.072, allocations: 0.8541 MB / 1.215 GB, free: 13.01 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00495/1.077, allocations: 5.422 MB / 1.22 GB, free: 7.375 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006235/1.083, allocations: 0.5355 MB / 1.221 GB, free: 6.836 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/1.085, allocations: 176 kB / 1.221 GB, free: 6.664 MB / 1.057 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.009019/1.094, allocations: 2.284 MB / 1.223 GB, free: 4.367 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003242/1.097, allocations: 0.4971 MB / 1.224 GB, free: 3.867 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.107, allocations: 4.175 MB / 1.228 GB, free: 15.64 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.115e-05/1.107, allocations: 31.94 kB / 1.228 GB, free: 15.61 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/1.107, allocations: 4 kB / 1.228 GB, free: 15.6 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004038/1.111, allocations: 3.612 MB / 1.231 GB, free: 11.88 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/1.129, allocations: 9.563 MB / 1.241 GB, free: 2.211 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.129, allocations: 4 kB / 1.241 GB, free: 2.207 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/1.13, allocations: 0.4998 MB / 1.241 GB, free: 1.707 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008506/1.131, allocations: 372.3 kB / 1.241 GB, free: 1.34 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001853/1.131, allocations: 75.95 kB / 1.241 GB, free: 1.266 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004668/1.136, allocations: 5.357 MB / 1.247 GB, free: 11.7 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/1.136, allocations: 8.062 kB / 1.247 GB, free: 11.69 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008848/1.144, allocations: 6.252 MB / 1.253 GB, free: 5.27 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003027/1.147, allocations: 1.08 MB / 1.254 GB, free: 4.188 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006897/1.148, allocations: 63.98 kB / 1.254 GB, free: 4.125 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/1.15, allocations: 179.7 kB / 1.254 GB, free: 3.949 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/1.15, allocations: 181.5 kB / 1.254 GB, free: 3.773 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/1.15, allocations: 127.9 kB / 1.254 GB, free: 3.648 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.004803/1.155, allocations: 3.843 MB / 1.258 GB, free: 15.82 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.9e-07/1.155, allocations: 0 / 1.258 GB, free: 15.82 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.00484/1.16, allocations: 1.825 MB / 1.26 GB, free: 13.99 MB / 1.104 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.007676/1.168, allocations: 7.175 MB / 1.267 GB, free: 6.656 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.005479/1.173, allocations: 4.142 MB / 1.271 GB, free: 2.488 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/1.173, allocations: 4 kB / 1.271 GB, free: 2.484 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/1.175, allocations: 1.925 MB / 1.273 GB, free: 0.5273 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/1.185, allocations: 3.427 MB / 1.276 GB, free: 13.2 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07819/1.264, allocations: 47 MB / 1.322 GB, free: 12.53 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/1.267, allocations: 3.804 MB / 1.326 GB, free: 8.688 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004732/1.271, allocations: 1.899 MB / 1.328 GB, free: 6.801 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002872/1.274, allocations: 2.445 MB / 1.33 GB, free: 4.352 MB / 1.167 GB Notification: Performance of SimCode: time 1.472e-06/1.274, allocations: 0 / 1.33 GB, free: 4.352 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2461/1.52, allocations: 164 MB / 1.49 GB, free: 2.73 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/14.17, allocations: 4.062 kB / 1.49 GB, free: 2.727 MB / 1.323 GB " [Timeout remaining time 286] (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: 19.470647289417684]