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.001304/0.001304, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001725/0.003028, allocations: 449.8 kB / 10.44 MB, free: 252 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.001106/0.001106, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003416/0.004523, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.028/1.028, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09466/1.122, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.929/1.929, allocations: 378.3 MB / 0.6079 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5215/2.45, allocations: 123.3 MB / 0.7283 GB, free: 5.762 MB / 0.698 GB " [Timeout remaining time 178] 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.215e-06/2.215e-06, allocations: 0 / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.532e-05, allocations: 8.641 kB / 0.7297 GB, free: 4.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001979/0.002004, allocations: 0.7364 MB / 0.7304 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.003741, allocations: 1.252 MB / 0.7316 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.003788, allocations: 5.281 kB / 0.7316 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.003817, allocations: 4.938 kB / 0.7316 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.003872, allocations: 7.984 kB / 0.7316 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.004451, allocations: 217.3 kB / 0.7318 GB, free: 2.238 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.00473, allocations: 175.1 kB / 0.732 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.012e-05/0.00482, allocations: 7.984 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.004997, allocations: 105.8 kB / 0.7321 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.005165, allocations: 57.39 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.005202, allocations: 12 kB / 0.7322 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.005315, allocations: 31.98 kB / 0.7322 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.005346, allocations: 10.19 kB / 0.7322 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.005413, allocations: 38.5 kB / 0.7322 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.005629, allocations: 107.7 kB / 0.7323 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/0.005644, allocations: 0 / 0.7323 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005645, allocations: 0 / 0.7323 GB, free: 1.734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.005663, allocations: 0.5 kB / 0.7323 GB, free: 1.734 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.0006087/0.006271, allocations: 352.5 kB / 0.7327 GB, free: 1.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.006313, allocations: 12.03 kB / 0.7327 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.006377, allocations: 14.33 kB / 0.7327 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.006487, allocations: 113.7 kB / 0.7328 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.006511, allocations: 4.375 kB / 0.7328 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.006542, allocations: 8.375 kB / 0.7328 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.006655, allocations: 63.41 kB / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.006668, allocations: 9.5 kB / 0.7329 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.006679, allocations: 4 kB / 0.7329 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.006686, allocations: 0 / 0.7329 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.006708, allocations: 11.98 kB / 0.7329 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.007056, allocations: 193.1 kB / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.899e-05/0.007125, allocations: 26.64 kB / 0.7331 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.00714, allocations: 17.38 kB / 0.7331 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-06/0.007143, allocations: 1.594 kB / 0.7331 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.007245, allocations: 83.28 kB / 0.7332 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.007247, allocations: 3.984 kB / 0.7332 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001451/0.007392, allocations: 85.53 kB / 0.7333 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.007425, allocations: 56.25 kB / 0.7334 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.0075, allocations: 122.6 kB / 0.7335 GB, free: 456 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.007523, allocations: 34.95 kB / 0.7335 GB, free: 416 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.007572, allocations: 92.36 kB / 0.7336 GB, free: 316 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.007588, allocations: 15.89 kB / 0.7336 GB, free: 300 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.007648, allocations: 51.41 kB / 0.7337 GB, free: 244 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.007744, allocations: 318.8 kB / 0.734 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.007823, allocations: 99.38 kB / 0.7341 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.007925, allocations: 153.3 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.008044, allocations: 163.2 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.008047, allocations: 0 / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002099/0.008257, allocations: 286.1 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.008308, allocations: 67.39 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.008314, allocations: 4.781 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.008327, allocations: 0 / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.251e-05/0.00837, allocations: 12.61 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.008375, allocations: 4 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.008527, allocations: 53.36 kB / 0.7348 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.008547, allocations: 15.98 kB / 0.7348 GB, free: 14.96 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 7.412e-05/0.008621, allocations: 119.2 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.008632, allocations: 11.92 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.008657, allocations: 14.19 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008659, allocations: 0 / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.008661, allocations: 0 / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.008665, allocations: 0 / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.008829, allocations: 218.8 kB / 0.7351 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008831, allocations: 5.281 kB / 0.7351 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-06/0.008836, allocations: 0 / 0.7351 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.008845, allocations: 11.94 kB / 0.7351 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.008846, allocations: 0 / 0.7351 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.008852, allocations: 5.25 kB / 0.7351 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.008852, allocations: 4 kB / 0.7352 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.008853, allocations: 0 / 0.7352 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.665e-05/0.00894, allocations: 160.7 kB / 0.7353 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.008952, allocations: 3.984 kB / 0.7353 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.078e-05/0.008983, allocations: 8 kB / 0.7353 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.009007, allocations: 5.016 kB / 0.7353 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.009017, allocations: 4 kB / 0.7353 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.772e-05/0.009034, allocations: 20.83 kB / 0.7353 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009035, allocations: 4.469 kB / 0.7354 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001623/0.009197, allocations: 32 kB / 0.7354 GB, free: 14.3 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.0001098/0.009307, allocations: 85.61 kB / 0.7355 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.009535, allocations: 279.6 kB / 0.7357 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.009539, allocations: 0 / 0.7357 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.009571, allocations: 24.86 kB / 0.7358 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.009774, allocations: 141 kB / 0.7359 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.0102, allocations: 161.4 kB / 0.736 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.01024, allocations: 64.05 kB / 0.7361 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.01026, allocations: 6.172 kB / 0.7361 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.793e-05/0.01036, allocations: 79.34 kB / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/0.01036, allocations: 3.938 kB / 0.7362 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.004094/0.01445, allocations: 2.341 MB / 0.7385 GB, free: 11.14 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.044756132178009]