Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001127/0.001127, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.006246/0.006246, allocations: 162 kB / 24.38 MB, free: 8.586 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.8951/0.8951, allocations: 177.1 MB / 204.8 MB, free: 5.055 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.95/1.95, allocations: 389.6 MB / 0.6356 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] 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: translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7755 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.319e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001204/0.001217, allocations: 0.7349 MB / 0.7763 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.00225, allocations: 1.114 MB / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.002291, allocations: 0 / 0.7773 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.002321, allocations: 3.938 kB / 0.7773 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.00238, allocations: 6.406 kB / 0.7774 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.002591, allocations: 53.22 kB / 0.7774 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.729e-05/0.002668, allocations: 43.31 kB / 0.7774 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.002732, allocations: 15.42 kB / 0.7775 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.073e-05/0.002803, allocations: 25.39 kB / 0.7775 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.963e-05/0.002842, allocations: 25.11 kB / 0.7775 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.002855, allocations: 4 kB / 0.7775 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.303e-05/0.002918, allocations: 12 kB / 0.7775 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.002935, allocations: 15.97 kB / 0.7775 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.002955, allocations: 11.98 kB / 0.7776 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.003058, allocations: 55.75 kB / 0.7776 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.00306, allocations: 0.5625 kB / 0.7776 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.00306, allocations: 1.125 kB / 0.7776 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.003063, allocations: 0 / 0.7776 GB, free: 3.117 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003246/0.003388, allocations: 266.5 kB / 0.7779 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.003421, allocations: 13.34 kB / 0.7779 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.073e-05/0.003502, allocations: 4.938 kB / 0.7779 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/0.003589, allocations: 113.7 kB / 0.778 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.0036, allocations: 5.141 kB / 0.778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.003611, allocations: 4.375 kB / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.295e-05/0.003704, allocations: 67.72 kB / 0.7781 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.003712, allocations: 192 / 0.7781 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.003719, allocations: 3.531 kB / 0.7781 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.003724, allocations: 4.312 kB / 0.7781 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.003746, allocations: 7.938 kB / 0.7781 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.003975, allocations: 164.3 kB / 0.7782 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.747e-05/0.004042, allocations: 38.56 kB / 0.7783 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.004058, allocations: 12.98 kB / 0.7783 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.004074, allocations: 4 kB / 0.7783 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.85e-05/0.004132, allocations: 54.98 kB / 0.7783 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.004133, allocations: 0 / 0.7783 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001/0.004233, allocations: 57.62 kB / 0.7784 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.004269, allocations: 55.34 kB / 0.7784 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.388e-05/0.004323, allocations: 110.7 kB / 0.7786 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.004334, allocations: 25.7 kB / 0.7786 GB, free: 2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.004362, allocations: 92.09 kB / 0.7787 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.004377, allocations: 15.88 kB / 0.7787 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.004404, allocations: 21.72 kB / 0.7787 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.09e-05/0.004475, allocations: 319.9 kB / 0.779 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.004485, allocations: 4 kB / 0.779 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.004508, allocations: 27.44 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.004549, allocations: 52.89 kB / 0.7791 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004551, allocations: 0.5 kB / 0.7791 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.98e-05/0.00461, allocations: 63.44 kB / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.00462, allocations: 6.344 kB / 0.7792 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.004625, allocations: 3.984 kB / 0.7792 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.004634, allocations: 8.688 kB / 0.7792 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.004686, allocations: 15.94 kB / 0.7792 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.004689, allocations: 1.469 kB / 0.7792 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.004713, allocations: 11.92 kB / 0.7792 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.004719, allocations: 4 kB / 0.7792 GB, free: 1.324 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.00477, allocations: 115.4 kB / 0.7793 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-06/0.004776, allocations: 0 / 0.7793 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.004839, allocations: 62.05 kB / 0.7794 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.004842, allocations: 3.938 kB / 0.7794 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.004843, allocations: 0.75 kB / 0.7794 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.004846, allocations: 0 / 0.7794 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.004984, allocations: 203.8 kB / 0.7796 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.004984, allocations: 0 / 0.7796 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.005006, allocations: 15.86 kB / 0.7796 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.00501, allocations: 4.938 kB / 0.7796 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.005015, allocations: 3.938 kB / 0.7796 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005016, allocations: 0.9375 kB / 0.7796 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.005016, allocations: 0 / 0.7796 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.706e-05/0.005084, allocations: 147.5 kB / 0.7797 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.005089, allocations: 5.422 kB / 0.7797 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.005099, allocations: 3.938 kB / 0.7797 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.005136, allocations: 4 kB / 0.7797 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.005161, allocations: 8.609 kB / 0.7798 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.005169, allocations: 192 / 0.7798 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.2e-05/0.005181, allocations: 21.36 kB / 0.7798 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005181, allocations: 0.6562 kB / 0.7798 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000123/0.005304, allocations: 19.94 kB / 0.7798 GB, free: 0.668 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.299e-05/0.005387, allocations: 84.3 kB / 0.7799 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.548e-05/0.005452, allocations: 41.69 kB / 0.7799 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.005454, allocations: 0 / 0.7799 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.005478, allocations: 18.16 kB / 0.7799 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.005595, allocations: 10.75 kB / 0.7799 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.00591, allocations: 149.6 kB / 0.7801 GB, free: 344 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.837e-05/0.005939, allocations: 60.25 kB / 0.7801 GB, free: 264 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.005957, allocations: 4.719 kB / 0.7801 GB, free: 260 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.005994, allocations: 51.38 kB / 0.7802 GB, free: 208 kB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.005995, allocations: 4.688 kB / 0.7802 GB, free: 204 kB / 0.7292 GB Notification: Performance of Templates: time 0.002042/0.008037, allocations: 0.8569 MB / 0.781 GB, free: 15.39 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.907249559648335]