Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0009051/0.0009051, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.003128/0.003128, allocations: 161.7 kB / 24.38 MB, free: 8.609 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.9301/0.9301, allocations: 177.1 MB / 204.8 MB, free: 4.941 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.956/1.956, allocations: 389.6 MB / 0.6356 GB, free: 12.2 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0.6562 kB / 0.7755 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/2e-05, allocations: 5.266 kB / 0.7755 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002033/0.002053, allocations: 0.8118 MB / 0.7763 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.003817, allocations: 1.204 MB / 0.7775 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.00387, allocations: 0 / 0.7775 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.003911, allocations: 14.64 kB / 0.7775 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.003995, allocations: 12.47 kB / 0.7775 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.004442, allocations: 135.6 kB / 0.7777 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.004638, allocations: 131.7 kB / 0.7778 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.004726, allocations: 20.61 kB / 0.7778 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.004855, allocations: 73.05 kB / 0.7779 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.004946, allocations: 35.89 kB / 0.7779 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.004974, allocations: 8 kB / 0.7779 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.005082, allocations: 37.69 kB / 0.778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.005106, allocations: 11.92 kB / 0.778 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.005161, allocations: 39.95 kB / 0.778 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.005328, allocations: 99.69 kB / 0.7781 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.005332, allocations: 4.781 kB / 0.7781 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.62e-07/0.005333, allocations: 3.938 kB / 0.7781 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.005336, allocations: 0.8438 kB / 0.7781 GB, free: 2.539 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003942/0.00573, allocations: 314.4 kB / 0.7784 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.005767, allocations: 16.5 kB / 0.7784 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.005868, allocations: 12.92 kB / 0.7784 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.903e-05/0.005957, allocations: 121.6 kB / 0.7786 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.005973, allocations: 4.375 kB / 0.7786 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.005997, allocations: 12.38 kB / 0.7786 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.006123, allocations: 78.8 kB / 0.7787 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.006131, allocations: 192 / 0.7787 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.00614, allocations: 4.359 kB / 0.7787 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.006148, allocations: 7.719 kB / 0.7787 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.006183, allocations: 11.98 kB / 0.7787 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.006513, allocations: 196.1 kB / 0.7789 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.614e-05/0.006589, allocations: 34.58 kB / 0.7789 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.00661, allocations: 12.84 kB / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.006623, allocations: 0 / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.947e-05/0.006722, allocations: 75.42 kB / 0.779 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.006724, allocations: 0.5 kB / 0.779 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001458/0.006869, allocations: 70.39 kB / 0.779 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.006904, allocations: 55.41 kB / 0.7791 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.00698, allocations: 123.8 kB / 0.7792 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.007004, allocations: 33.7 kB / 0.7792 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.007053, allocations: 92.08 kB / 0.7793 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.007078, allocations: 24.59 kB / 0.7794 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/0.00714, allocations: 33.69 kB / 0.7794 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.00724, allocations: 324.3 kB / 0.7797 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.007313, allocations: 49.69 kB / 0.7797 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.512e-05/0.007398, allocations: 94.77 kB / 0.7798 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.007514, allocations: 112.9 kB / 0.7799 GB, free: 476 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.007517, allocations: 3.938 kB / 0.78 GB, free: 472 kB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002292/0.007746, allocations: 182.6 kB / 0.7801 GB, free: 272 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.007779, allocations: 37.7 kB / 0.7802 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.007784, allocations: 0 / 0.7802 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.007794, allocations: 4.938 kB / 0.7802 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.007877, allocations: 15.98 kB / 0.7802 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.00788, allocations: 4.875 kB / 0.7802 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.008001, allocations: 29.38 kB / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.00802, allocations: 8 kB / 0.7802 GB, free: 168 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.655e-05/0.008096, allocations: 121.8 kB / 0.7803 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.008112, allocations: 13.05 kB / 0.7804 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.008232, allocations: 66.05 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.008234, allocations: 0 / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.008236, allocations: 1.062 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008239, allocations: 4 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.008361, allocations: 211.2 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008363, allocations: 0.625 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.008397, allocations: 12.47 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.008399, allocations: 0 / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.008405, allocations: 8.641 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008406, allocations: 1.125 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.008407, allocations: 3.938 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.313e-05/0.00848, allocations: 155.6 kB / 0.7808 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-06/0.008486, allocations: 4.812 kB / 0.7808 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-06/0.008494, allocations: 4 kB / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/0.008525, allocations: 0 / 0.7808 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.00855, allocations: 17.09 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.008554, allocations: 0 / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.448e-05/0.008568, allocations: 21.33 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008568, allocations: 0.9062 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001385/0.008707, allocations: 35.89 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 7.601e-05/0.008783, allocations: 81.81 kB / 0.781 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.008912, allocations: 170.6 kB / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.008914, allocations: 0 / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.008937, allocations: 17.98 kB / 0.7811 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.009059, allocations: 15.14 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.009399, allocations: 190 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.015e-05/0.009429, allocations: 55.36 kB / 0.7814 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.054e-05/0.00945, allocations: 7.984 kB / 0.7814 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.009515, allocations: 68.86 kB / 0.7815 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.009515, allocations: 0 / 0.7815 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of Templates: time 0.002817/0.01233, allocations: 1.647 MB / 0.7831 GB, free: 13.23 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.963435109704733]