Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007983/0.0007983, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001843, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006816/0.0006816, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000933/0.001615, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9843/0.9843, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1051/1.089, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.922/1.922, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5873/2.509, allocations: 123.3 MB / 0.728 GB, free: 5.852 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0.6562 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.736e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00207/0.002097, allocations: 0.7282 MB / 0.73 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.003802, allocations: 1.251 MB / 0.7313 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.003843, allocations: 0.625 kB / 0.7313 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.00387, allocations: 3.938 kB / 0.7313 GB, free: 2.582 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.003933, allocations: 22.06 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.00448, allocations: 214.9 kB / 0.7315 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.00478, allocations: 173 kB / 0.7317 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.004867, allocations: 11.98 kB / 0.7317 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.005039, allocations: 103 kB / 0.7318 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.005181, allocations: 61.16 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.85e-05/0.00522, allocations: 16.5 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.005315, allocations: 23.98 kB / 0.7319 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.005339, allocations: 8.875 kB / 0.7319 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.005406, allocations: 35.94 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.005613, allocations: 113.2 kB / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.227e-05/0.005635, allocations: 0 / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.71e-07/0.005636, allocations: 0 / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.005656, allocations: 0 / 0.732 GB, free: 1.844 MB / 0.698 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.0005481/0.006204, allocations: 352.5 kB / 0.7324 GB, free: 1.465 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.006244, allocations: 12.03 kB / 0.7324 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.006292, allocations: 13.61 kB / 0.7324 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.006386, allocations: 113.7 kB / 0.7325 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.006407, allocations: 6.094 kB / 0.7325 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.006434, allocations: 12.38 kB / 0.7325 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.857e-05/0.006532, allocations: 58.92 kB / 0.7326 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.006543, allocations: 7.938 kB / 0.7326 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.00655, allocations: 4.75 kB / 0.7326 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.006556, allocations: 0 / 0.7326 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.006577, allocations: 4.5 kB / 0.7326 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.006929, allocations: 184.8 kB / 0.7328 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.267e-05/0.007011, allocations: 30.56 kB / 0.7328 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.007028, allocations: 9.547 kB / 0.7328 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.007035, allocations: 5.031 kB / 0.7328 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.007177, allocations: 91.38 kB / 0.7329 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.007179, allocations: 0.875 kB / 0.7329 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001841/0.007363, allocations: 81.59 kB / 0.733 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.007414, allocations: 59.39 kB / 0.733 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.007514, allocations: 123.2 kB / 0.7331 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.007553, allocations: 34.39 kB / 0.7332 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.007609, allocations: 96.34 kB / 0.7333 GB, free: 436 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.007625, allocations: 17.64 kB / 0.7333 GB, free: 420 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.007698, allocations: 53.61 kB / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.007797, allocations: 318.8 kB / 0.7336 GB, free: 32 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.591e-05/0.007893, allocations: 99.38 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.008025, allocations: 149.3 kB / 0.7339 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.008198, allocations: 171.4 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.008201, allocations: 1.125 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004696/0.00867, allocations: 284.9 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.417e-05/0.008734, allocations: 67.39 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.008742, allocations: 4.531 kB / 0.7344 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.008753, allocations: 0.9375 kB / 0.7344 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.225e-05/0.008805, allocations: 12 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.00881, allocations: 5.219 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.009004, allocations: 43.84 kB / 0.7344 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.009031, allocations: 9.688 kB / 0.7344 GB, free: 15.09 MB / 0.7136 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 9.453e-05/0.009125, allocations: 126.5 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.009144, allocations: 11.94 kB / 0.7346 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.009172, allocations: 9.188 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.009175, allocations: 0 / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.009179, allocations: 5.141 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.009182, allocations: 0 / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.009401, allocations: 218.8 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.009406, allocations: 4.969 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.46e-05/0.009421, allocations: 0 / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.00943, allocations: 7.953 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.009433, allocations: 0.6875 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.009441, allocations: 5.031 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.009443, allocations: 0 / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009444, allocations: 0 / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.00957, allocations: 172.2 kB / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.009587, allocations: 0 / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.009642, allocations: 5.219 kB / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.009672, allocations: 7.984 kB / 0.735 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.009692, allocations: 8 kB / 0.735 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.289e-05/0.009715, allocations: 20.78 kB / 0.735 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.009715, allocations: 1.031 kB / 0.735 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002606/0.009976, allocations: 32 kB / 0.7351 GB, free: 14.41 MB / 0.7136 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.0001492/0.01012, allocations: 94.62 kB / 0.7351 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.01041, allocations: 270.9 kB / 0.7354 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.01042, allocations: 0 / 0.7354 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.01046, allocations: 30 kB / 0.7354 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.01069, allocations: 27.55 kB / 0.7355 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.01127, allocations: 165.4 kB / 0.7356 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.246e-05/0.01132, allocations: 64.52 kB / 0.7357 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.01135, allocations: 4.734 kB / 0.7357 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.01147, allocations: 79.34 kB / 0.7358 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of SimCode: time 8.22e-07/0.01147, allocations: 0 / 0.7358 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.005273/0.01675, allocations: 2.385 MB / 0.7381 GB, free: 11.35 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.043976120650768]