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.0008406/0.0008406, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0008784/0.0008784, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9859/0.9859, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.942/1.942, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 2.685e-06/2.685e-06, allocations: 0 / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.978e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001986/0.002015, allocations: 0.7214 MB / 0.7759 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.003423, allocations: 1.111 MB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.003483, allocations: 3.938 kB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.003522, allocations: 4 kB / 0.777 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.094e-05/0.003613, allocations: 7.281 kB / 0.777 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.003981, allocations: 48.36 kB / 0.777 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.004087, allocations: 54.61 kB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.669e-05/0.004174, allocations: 8.766 kB / 0.7771 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.521e-05/0.004259, allocations: 29.39 kB / 0.7771 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.004308, allocations: 20.45 kB / 0.7771 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.004323, allocations: 4 kB / 0.7772 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.813e-05/0.004411, allocations: 23.98 kB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.004433, allocations: 7.984 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.004457, allocations: 14.69 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.004581, allocations: 51.86 kB / 0.7772 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.004585, allocations: 0 / 0.7772 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.313e-06/0.004586, allocations: 0 / 0.7772 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004591, allocations: 0 / 0.7772 GB, free: 3.297 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.0004323/0.005023, allocations: 256.8 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.005072, allocations: 15.53 kB / 0.7775 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.005182, allocations: 12.86 kB / 0.7775 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.005292, allocations: 117.7 kB / 0.7776 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.005305, allocations: 4.312 kB / 0.7776 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.005336, allocations: 8.375 kB / 0.7776 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.005463, allocations: 58.94 kB / 0.7777 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.005472, allocations: 0.875 kB / 0.7777 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.005482, allocations: 4.984 kB / 0.7777 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.005488, allocations: 384 / 0.7777 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.005519, allocations: 16.75 kB / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.005817, allocations: 160.2 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.535e-05/0.005892, allocations: 31.17 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.005909, allocations: 9.391 kB / 0.7779 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.005932, allocations: 0.9375 kB / 0.7779 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.963e-05/0.006012, allocations: 55.52 kB / 0.778 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.006014, allocations: 4.531 kB / 0.778 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.00013/0.006144, allocations: 57.61 kB / 0.778 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.006181, allocations: 52.12 kB / 0.7781 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.006242, allocations: 111.8 kB / 0.7782 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.006255, allocations: 29.7 kB / 0.7782 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.006289, allocations: 93.52 kB / 0.7783 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.006305, allocations: 7.906 kB / 0.7783 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.006337, allocations: 29.69 kB / 0.7783 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.00642, allocations: 310.8 kB / 0.7786 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.006434, allocations: 8.656 kB / 0.7786 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.006467, allocations: 43.33 kB / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.006513, allocations: 37.73 kB / 0.7787 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.006517, allocations: 4.062 kB / 0.7787 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.598e-05/0.006603, allocations: 70.36 kB / 0.7788 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.006616, allocations: 4 kB / 0.7788 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.006622, allocations: 0.75 kB / 0.7788 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.006637, allocations: 7.938 kB / 0.7788 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.0067, allocations: 12.59 kB / 0.7788 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.006703, allocations: 1.219 kB / 0.7788 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.00673, allocations: 11.92 kB / 0.7788 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.006738, allocations: 8 kB / 0.7788 GB, free: 1.504 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 6.816e-05/0.006806, allocations: 121.5 kB / 0.7789 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.006818, allocations: 4 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.045e-05/0.006908, allocations: 54.73 kB / 0.779 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.006912, allocations: 7.875 kB / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006913, allocations: 0.6875 kB / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.006917, allocations: 1.75 kB / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.0071, allocations: 210.8 kB / 0.7792 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007102, allocations: 0 / 0.7792 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.00713, allocations: 8 kB / 0.7792 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.007133, allocations: 0 / 0.7792 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.007141, allocations: 8.516 kB / 0.7792 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007143, allocations: 0 / 0.7792 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007144, allocations: 1 kB / 0.7792 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.188e-05/0.007235, allocations: 147.5 kB / 0.7794 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-06/0.007244, allocations: 4.484 kB / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.007255, allocations: 8.109 kB / 0.7794 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.007292, allocations: 9.125 kB / 0.7794 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.007321, allocations: 11.98 kB / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.007331, allocations: 0.8125 kB / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.377e-05/0.007345, allocations: 8.859 kB / 0.7794 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.007345, allocations: 0.875 kB / 0.7794 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001446/0.00749, allocations: 12 kB / 0.7794 GB, free: 0.8516 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 0.0001302/0.00762, allocations: 85.41 kB / 0.7795 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.485e-05/0.007715, allocations: 41.8 kB / 0.7795 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.007718, allocations: 0 / 0.7795 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.007744, allocations: 12.86 kB / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.007903, allocations: 17.58 kB / 0.7796 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.008332, allocations: 145.7 kB / 0.7797 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.777e-05/0.00837, allocations: 55.36 kB / 0.7798 GB, free: 452 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.008399, allocations: 9.422 kB / 0.7798 GB, free: 444 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.008453, allocations: 55.38 kB / 0.7798 GB, free: 388 kB / 0.7292 GB Notification: Performance of SimCode: time 9.52e-07/0.008454, allocations: 0 / 0.7798 GB, free: 388 kB / 0.7292 GB Notification: Performance of Templates: time 0.002911/0.01136, allocations: 0.8631 MB / 0.7807 GB, free: 15.56 MB / 0.7448 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: 5.056438474915922]