Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001452/0.001452, 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.00718/0.00718, 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.9514/0.9514, allocations: 177.1 MB / 204.8 MB, free: 5.051 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.893/1.893, allocations: 389.6 MB / 0.6356 GB, free: 12.23 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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 4 kB / 0.7756 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.413e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001564/0.001588, allocations: 0.736 MB / 0.7763 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.002869, allocations: 1.243 MB / 0.7775 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.002913, allocations: 4.875 kB / 0.7775 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.002945, allocations: 3.938 kB / 0.7775 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.003157, allocations: 12.83 kB / 0.7775 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.003658, allocations: 209.5 kB / 0.7777 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.003846, allocations: 176.8 kB / 0.7779 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.171e-05/0.003918, allocations: 13.58 kB / 0.7779 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.004029, allocations: 99.97 kB / 0.778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.004136, allocations: 52.62 kB / 0.7781 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.004161, allocations: 16 kB / 0.7781 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.867e-05/0.00424, allocations: 32.61 kB / 0.7781 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.004261, allocations: 11.98 kB / 0.7781 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.004312, allocations: 57.66 kB / 0.7782 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.004465, allocations: 135.6 kB / 0.7783 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004467, allocations: 0 / 0.7783 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004468, allocations: 0 / 0.7783 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.004473, allocations: 1.062 kB / 0.7783 GB, free: 2.375 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003348/0.004807, allocations: 340.1 kB / 0.7786 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.004839, allocations: 9.344 kB / 0.7786 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.004872, allocations: 13.48 kB / 0.7786 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.76e-05/0.00495, allocations: 113.8 kB / 0.7788 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.004965, allocations: 11.84 kB / 0.7788 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.004984, allocations: 12.31 kB / 0.7788 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.885e-05/0.005063, allocations: 62.88 kB / 0.7788 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.005069, allocations: 3.938 kB / 0.7788 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.005076, allocations: 0 / 0.7788 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.00508, allocations: 0 / 0.7788 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.486e-05/0.005094, allocations: 11.98 kB / 0.7789 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.005351, allocations: 184.2 kB / 0.779 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/0.005412, allocations: 29.38 kB / 0.7791 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.127e-05/0.005423, allocations: 16.8 kB / 0.7791 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-06/0.005427, allocations: 4 kB / 0.7791 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.741e-05/0.005515, allocations: 79.38 kB / 0.7792 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.005516, allocations: 0 / 0.7792 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001304/0.005646, allocations: 85.59 kB / 0.7792 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.005677, allocations: 55.41 kB / 0.7793 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.005741, allocations: 128.1 kB / 0.7794 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.005763, allocations: 33.7 kB / 0.7794 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.005803, allocations: 88.36 kB / 0.7795 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.005817, allocations: 19.84 kB / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.005875, allocations: 55.47 kB / 0.7796 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.005948, allocations: 318.8 kB / 0.7799 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.006025, allocations: 103.3 kB / 0.78 GB, free: 476 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.006109, allocations: 152.3 kB / 0.7801 GB, free: 292 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.006219, allocations: 167.8 kB / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006221, allocations: 0 / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002123/0.006434, allocations: 285 kB / 0.7806 GB, free: 15.78 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.00647, allocations: 63.92 kB / 0.7806 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.006475, allocations: 0.9375 kB / 0.7806 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.006482, allocations: 4.094 kB / 0.7806 GB, free: 15.7 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.109e-05/0.006523, allocations: 11.98 kB / 0.7807 GB, free: 15.69 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.00653, allocations: 16.73 kB / 0.7807 GB, free: 15.68 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.00666, allocations: 41.34 kB / 0.7807 GB, free: 15.64 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.006677, allocations: 7.984 kB / 0.7807 GB, free: 15.63 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 8.59e-05/0.006763, allocations: 124.8 kB / 0.7808 GB, free: 15.5 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.006777, allocations: 17.05 kB / 0.7809 GB, free: 15.48 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.006796, allocations: 4.438 kB / 0.7809 GB, free: 15.48 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.0068, allocations: 4 kB / 0.7809 GB, free: 15.48 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.006802, allocations: 0.5625 kB / 0.7809 GB, free: 15.48 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.006806, allocations: 0 / 0.7809 GB, free: 15.48 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.007294, allocations: 215.6 kB / 0.7811 GB, free: 15.25 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.007298, allocations: 3.938 kB / 0.7811 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-06/0.007306, allocations: 4.781 kB / 0.7811 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.007308, allocations: 0 / 0.7811 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.007314, allocations: 4.641 kB / 0.7811 GB, free: 15.23 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007315, allocations: 0 / 0.7811 GB, free: 15.23 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.007316, allocations: 4.938 kB / 0.7811 GB, free: 15.23 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.766e-05/0.007404, allocations: 167.9 kB / 0.7812 GB, free: 15.05 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.007412, allocations: 8.828 kB / 0.7813 GB, free: 15.04 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.007424, allocations: 4 kB / 0.7813 GB, free: 15.04 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.026e-05/0.007454, allocations: 3.984 kB / 0.7813 GB, free: 15.04 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.007479, allocations: 8.938 kB / 0.7813 GB, free: 15.03 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.007489, allocations: 3.984 kB / 0.7813 GB, free: 15.02 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 1.817e-05/0.007507, allocations: 22.12 kB / 0.7813 GB, free: 15 MB / 0.7449 GB Notification: Performance of sort global known variables: time 1.4e-07/0.007508, allocations: 0 / 0.7813 GB, free: 15 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001641/0.007672, allocations: 35.98 kB / 0.7813 GB, free: 14.96 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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 0.0001055/0.007777, allocations: 86.14 kB / 0.7814 GB, free: 14.87 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.007992, allocations: 276.8 kB / 0.7817 GB, free: 14.56 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.007995, allocations: 0 / 0.7817 GB, free: 14.56 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/0.008023, allocations: 28.78 kB / 0.7817 GB, free: 14.53 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.008183, allocations: 23.98 kB / 0.7817 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.008418, allocations: 164.8 kB / 0.7819 GB, free: 14.32 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.008452, allocations: 60.33 kB / 0.7819 GB, free: 14.24 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.406e-05/0.008476, allocations: 8.719 kB / 0.7819 GB, free: 14.23 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.008568, allocations: 89.03 kB / 0.782 GB, free: 14.15 MB / 0.7449 GB Notification: Performance of SimCode: time 6.11e-07/0.008568, allocations: 0 / 0.782 GB, free: 14.15 MB / 0.7449 GB Notification: Performance of Templates: time 0.003665/0.01223, allocations: 2.286 MB / 0.7843 GB, free: 11.99 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.923291611485183]