Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.0007939/0.0007939, allocations: 100.3 kB / 19.72 MB, free: 428 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.0008629/0.0008629, allocations: 214.8 kB / 23.03 MB, free: 2.969 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.9488/0.9488, allocations: 230.6 MB / 256.8 MB, free: 9.582 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 2.028/2.028, allocations: 0.5046 GB / 0.8104 GB, free: 2.754 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.StratifiedLoadingUnloading,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009594/0.0009594, allocations: 63.91 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7811/0.7821, allocations: 180 MB / 1.352 GB, free: 1.664 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03574/0.8178, allocations: 51.64 MB / 1.403 GB, free: 13.84 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.8357, allocations: 16.8 MB / 1.419 GB, free: 12.99 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/0.8384, allocations: 99.19 kB / 1.419 GB, free: 12.89 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.8404, allocations: 0.9042 MB / 1.42 GB, free: 11.98 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.005652/0.846, allocations: 2.647 MB / 1.423 GB, free: 9.32 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.8489, allocations: 1.56 MB / 1.424 GB, free: 7.77 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.01506/0.8639, allocations: 22.01 MB / 1.446 GB, free: 1.711 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008065/0.872, allocations: 6.736 MB / 1.452 GB, free: 10.88 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01236/0.8844, allocations: 7.568 MB / 1.46 GB, free: 3.328 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.8944, allocations: 6.889 MB / 1.467 GB, free: 12.41 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 0.001605/0.896, allocations: 0.9414 MB / 1.467 GB, free: 11.47 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004133/0.9001, allocations: 1.581 MB / 1.469 GB, free: 9.891 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.9018, allocations: 2.433 MB / 1.471 GB, free: 7.449 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.004726/0.9065, allocations: 3.872 MB / 1.475 GB, free: 3.562 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.9194, allocations: 13.35 MB / 1.488 GB, free: 6.172 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9194, allocations: 0 / 1.488 GB, free: 6.172 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9194, allocations: 3.938 kB / 1.488 GB, free: 6.168 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002468/0.9196, allocations: 4 kB / 1.488 GB, free: 6.164 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01359/0.9332, allocations: 8.62 MB / 1.497 GB, free: 13.46 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.9333, allocations: 12.92 kB / 1.497 GB, free: 13.45 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001015/0.9343, allocations: 0.8422 MB / 1.497 GB, free: 12.6 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.9368, allocations: 0.9566 MB / 1.498 GB, free: 11.63 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009794/0.9466, allocations: 6.777 MB / 1.505 GB, free: 4.777 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/0.9469, allocations: 464.2 kB / 1.505 GB, free: 4.32 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007674/0.9477, allocations: 0.5937 MB / 1.506 GB, free: 3.727 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/0.9605, allocations: 10.1 MB / 1.516 GB, free: 9.043 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.9606, allocations: 23.83 kB / 1.516 GB, free: 9.02 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000562/0.9611, allocations: 267.9 kB / 1.516 GB, free: 8.758 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.9613, allocations: 183.8 kB / 1.516 GB, free: 8.578 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.9717, allocations: 7.445 MB / 1.524 GB, free: 1.125 MB / 1.198 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.028/0.9997, allocations: 27.26 MB / 1.55 GB, free: 5.402 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004188/1.004, allocations: 3.976 MB / 1.554 GB, free: 1.422 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002826/1.007, allocations: 3.026 MB / 1.557 GB, free: 14.39 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/1.007, allocations: 202.3 kB / 1.557 GB, free: 14.19 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002999/1.01, allocations: 3.456 MB / 1.561 GB, free: 10.44 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001674/1.012, allocations: 405 kB / 1.561 GB, free: 10.04 MB / 1.245 GB Notification: Performance of pre-optimization done (n=317): time 6.502e-06/1.012, allocations: 0 / 1.561 GB, free: 10.04 MB / 1.245 GB Notification: Performance of matching and sorting (n=317): time 0.007965/1.02, allocations: 7.008 MB / 1.568 GB, free: 2.984 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.02, allocations: 85.91 kB / 1.568 GB, free: 2.887 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005836/1.026, allocations: 5.755 MB / 1.574 GB, free: 13.15 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/1.026, allocations: 89.7 kB / 1.574 GB, free: 13.05 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.002103/1.028, allocations: 3.259 MB / 1.577 GB, free: 9.766 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008366/1.029, allocations: 1.178 MB / 1.578 GB, free: 8.578 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000832/1.03, allocations: 0.8663 MB / 1.579 GB, free: 7.691 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 6.899e-05/1.03, allocations: 301.1 kB / 1.579 GB, free: 7.395 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/1.032, allocations: 2.192 MB / 1.581 GB, free: 5.188 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002994/1.035, allocations: 3.822 MB / 1.585 GB, free: 0.6328 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005442/1.041, allocations: 6.331 MB / 1.591 GB, free: 9.586 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/1.041, allocations: 12 kB / 1.591 GB, free: 9.574 MB / 1.276 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007497/1.048, allocations: 6.815 MB / 1.598 GB, free: 2.703 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 5.673e-05/1.048, allocations: 49.7 kB / 1.598 GB, free: 2.648 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/1.048, allocations: 48 kB / 1.598 GB, free: 2.602 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006456/1.049, allocations: 446 kB / 1.598 GB, free: 2.16 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/1.051, allocations: 1.002 MB / 1.599 GB, free: 1.156 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/1.055, allocations: 5.427 MB / 1.605 GB, free: 11.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/1.058, allocations: 287.6 kB / 1.605 GB, free: 11.22 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/1.058, allocations: 216 kB / 1.605 GB, free: 11.01 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.003163/1.061, allocations: 2.487 MB / 1.608 GB, free: 8.508 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008021/1.062, allocations: 0.559 MB / 1.608 GB, free: 7.945 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00538/1.067, allocations: 5.255 MB / 1.613 GB, free: 2.633 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/1.067, allocations: 39.98 kB / 1.613 GB, free: 2.594 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.067, allocations: 7.938 kB / 1.613 GB, free: 2.586 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00433/1.071, allocations: 4.52 MB / 1.618 GB, free: 13.96 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/1.084, allocations: 11.08 MB / 1.629 GB, free: 2.758 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.084, allocations: 4 kB / 1.629 GB, free: 2.754 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.086, allocations: 0.6476 MB / 1.629 GB, free: 2.105 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004878/1.086, allocations: 369.3 kB / 1.63 GB, free: 1.738 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/1.086, allocations: 83.95 kB / 1.63 GB, free: 1.656 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003758/1.09, allocations: 5.309 MB / 1.635 GB, free: 12.12 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.09, allocations: 3.938 kB / 1.635 GB, free: 12.12 MB / 1.323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/1.098, allocations: 7.752 MB / 1.642 GB, free: 4.273 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/1.1, allocations: 1.139 MB / 1.643 GB, free: 3.133 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004033/1.1, allocations: 63.98 kB / 1.644 GB, free: 3.07 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.102, allocations: 203.7 kB / 1.644 GB, free: 2.871 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/1.102, allocations: 210 kB / 1.644 GB, free: 2.664 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.102, allocations: 143.8 kB / 1.644 GB, free: 2.523 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.003901/1.106, allocations: 3.966 MB / 1.648 GB, free: 14.57 MB / 1.339 GB Notification: Performance of sort global known variables: time 8e-08/1.106, allocations: 0 / 1.648 GB, free: 14.57 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.003876/1.11, allocations: 2.027 MB / 1.65 GB, free: 12.54 MB / 1.339 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.007877/1.118, allocations: 8.679 MB / 1.658 GB, free: 3.766 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.005547/1.123, allocations: 5.266 MB / 1.664 GB, free: 14.44 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.123, allocations: 4 kB / 1.664 GB, free: 14.43 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/1.126, allocations: 2.374 MB / 1.666 GB, free: 12.03 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007497/1.133, allocations: 3.367 MB / 1.669 GB, free: 8.754 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.213/2.346, allocations: 52.7 MB / 1.721 GB, free: 324.1 MB / 1.386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004047/2.35, allocations: 4.145 MB / 1.725 GB, free: 323.1 MB / 1.386 GB Notification: Performance of simCode: alias equations: time 0.004775/2.355, allocations: 2.052 MB / 1.727 GB, free: 323 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003398/2.358, allocations: 2.672 MB / 1.729 GB, free: 320.9 MB / 1.386 GB Notification: Performance of SimCode: time 1.463e-06/2.358, allocations: 3.562 kB / 1.729 GB, free: 320.9 MB / 1.386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2233/2.582, allocations: 170.8 MB / 1.896 GB, free: 164.9 MB / 1.386 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/14.94, allocations: 7.328 kB / 1.896 GB, free: 164.8 MB / 1.386 GB " [Timeout remaining time 285] (rm -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu) > Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 ../Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu) > Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 20.062233078293502]