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.0009543/0.0009543, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009309/0.0009309, allocations: 161 kB / 24.17 MB, free: 328 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.9288/0.9288, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.959/1.959, 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.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.425e-06/2.425e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.681e-05, allocations: 8 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001649/0.001676, allocations: 0.7331 MB / 0.7759 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.002962, allocations: 1.25 MB / 0.7771 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.003012, allocations: 0 / 0.7771 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.003041, allocations: 12.02 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.621e-05/0.003117, allocations: 11.55 kB / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.003613, allocations: 216.3 kB / 0.7774 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.0038, allocations: 172.8 kB / 0.7775 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.003878, allocations: 13.52 kB / 0.7776 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.00399, allocations: 98.02 kB / 0.7776 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.004102, allocations: 55.44 kB / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.004128, allocations: 16 kB / 0.7777 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.777e-05/0.004206, allocations: 31.97 kB / 0.7777 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.004227, allocations: 7.984 kB / 0.7778 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.004277, allocations: 59.89 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.004432, allocations: 143.6 kB / 0.7779 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004435, allocations: 0 / 0.7779 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004436, allocations: 0 / 0.7779 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.004441, allocations: 0 / 0.7779 GB, free: 2.617 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.0003361/0.004777, allocations: 335.3 kB / 0.7783 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.004809, allocations: 13.34 kB / 0.7783 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.004857, allocations: 12.92 kB / 0.7783 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.451e-05/0.004932, allocations: 113.7 kB / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.00495, allocations: 8.375 kB / 0.7784 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.004969, allocations: 16.36 kB / 0.7784 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.968e-05/0.005039, allocations: 54.94 kB / 0.7785 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.005046, allocations: 3.938 kB / 0.7785 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.005052, allocations: 0 / 0.7785 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.005056, allocations: 0.6562 kB / 0.7785 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.227e-05/0.005068, allocations: 4 kB / 0.7785 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.005331, allocations: 201.3 kB / 0.7787 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.005386, allocations: 30.55 kB / 0.7787 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.077e-05/0.005397, allocations: 9.391 kB / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.005403, allocations: 0.8125 kB / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.819e-05/0.005491, allocations: 91.31 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.005492, allocations: 0.875 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001289/0.005621, allocations: 81.59 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.005647, allocations: 57.14 kB / 0.7789 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.277e-05/0.00571, allocations: 119 kB / 0.779 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.00573, allocations: 37.7 kB / 0.7791 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.005767, allocations: 92.34 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.005784, allocations: 24.53 kB / 0.7792 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.005843, allocations: 49.61 kB / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.005913, allocations: 319.6 kB / 0.7795 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.005987, allocations: 103.4 kB / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.00607, allocations: 143.2 kB / 0.7798 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.006176, allocations: 161.8 kB / 0.7799 GB, free: 352 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006178, allocations: 1.594 kB / 0.7799 GB, free: 352 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001898/0.006368, allocations: 276.2 kB / 0.7802 GB, free: 44 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.006425, allocations: 68.2 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.00643, allocations: 0 / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.006443, allocations: 4.875 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.957e-05/0.006483, allocations: 11.92 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.006487, allocations: 4 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.006622, allocations: 45.22 kB / 0.7803 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.006639, allocations: 9.109 kB / 0.7803 GB, free: 15.89 MB / 0.7448 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 7.114e-05/0.006711, allocations: 127.8 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.006729, allocations: 11.92 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.006754, allocations: 8.438 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.006757, allocations: 4 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.006759, allocations: 0.8438 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006763, allocations: 0 / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.006918, allocations: 214.8 kB / 0.7807 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.006922, allocations: 9 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-06/0.006929, allocations: 4 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.00693, allocations: 0.5 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.006936, allocations: 3.984 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.006938, allocations: 0.9375 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006939, allocations: 4 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.06e-05/0.007019, allocations: 160.4 kB / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.007028, allocations: 7.891 kB / 0.7809 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.007041, allocations: 11.98 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.158e-05/0.007073, allocations: 1.062 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.007097, allocations: 7.984 kB / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.007106, allocations: 4.656 kB / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.007124, allocations: 21.02 kB / 0.7809 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007124, allocations: 0.6875 kB / 0.7809 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001662/0.007291, allocations: 31.98 kB / 0.7809 GB, free: 15.23 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: 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.0001061/0.007397, allocations: 93.47 kB / 0.781 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.0076, allocations: 264.4 kB / 0.7813 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.007603, allocations: 0 / 0.7813 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.00763, allocations: 30.84 kB / 0.7813 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.007792, allocations: 24.09 kB / 0.7813 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.008021, allocations: 170.4 kB / 0.7815 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.008054, allocations: 59.34 kB / 0.7816 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.008079, allocations: 12.72 kB / 0.7816 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.591e-05/0.008175, allocations: 75.88 kB / 0.7816 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.008176, allocations: 1.656 kB / 0.7816 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of Templates: time 0.003561/0.01174, allocations: 2.306 MB / 0.7839 GB, free: 12.24 MB / 0.7448 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.95168651919812]