Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001594/0.001594, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001783/0.001783, allocations: 216.1 kB / 23.01 MB, free: 4.566 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.306/3.306, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 68.25 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3495, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001918/0.3514, allocations: 0.683 MB / 1.355 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3531, allocations: 1.241 MB / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.3531, allocations: 0 / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.3532, allocations: 7.938 kB / 1.356 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.3533, allocations: 11.92 kB / 1.356 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.354, allocations: 222.2 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.3543, allocations: 183.7 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3544, allocations: 4 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3545, allocations: 71.88 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.3547, allocations: 71.78 kB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.3547, allocations: 16 kB / 1.357 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.3548, allocations: 31.98 kB / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.3549, allocations: 15.92 kB / 1.357 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.3549, allocations: 55.83 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.3552, allocations: 159.5 kB / 1.357 GB, free: 5.164 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.3552, allocations: 4 kB / 1.357 GB, free: 5.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 4.398e-06/0.3552, allocations: 4 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.3552, allocations: 0 / 1.357 GB, free: 5.156 MB / 1.045 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.0006586/0.3559, allocations: 365.5 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3559, allocations: 12.03 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.356, allocations: 16.88 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3561, allocations: 110.5 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3562, allocations: 4.375 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.3562, allocations: 12.38 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3564, allocations: 53.61 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3564, allocations: 0 / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3564, allocations: 0 / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3564, allocations: 3.938 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.746e-05/0.3564, allocations: 19.92 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.3571, allocations: 335.7 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3572, allocations: 30.56 kB / 1.358 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.3572, allocations: 20.94 kB / 1.358 GB, free: 4.066 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.3572, allocations: 0 / 1.358 GB, free: 4.066 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.3574, allocations: 95.25 kB / 1.358 GB, free: 3.961 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.3574, allocations: 0 / 1.358 GB, free: 3.961 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0003082/0.3577, allocations: 121.9 kB / 1.358 GB, free: 3.836 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3578, allocations: 59.39 kB / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3579, allocations: 117.9 kB / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.3579, allocations: 37.64 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.358, allocations: 100.3 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.358, allocations: 11.86 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3581, allocations: 53.69 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3583, allocations: 330.8 kB / 1.359 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3584, allocations: 59.97 kB / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.3586, allocations: 105.9 kB / 1.359 GB, free: 2.906 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.3588, allocations: 189.3 kB / 1.359 GB, free: 2.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3588, allocations: 4 kB / 1.359 GB, free: 2.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004647/0.3593, allocations: 280.8 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.3594, allocations: 67.55 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3594, allocations: 8 kB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3594, allocations: 4 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.046e-05/0.3594, allocations: 4 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3594, allocations: 0 / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.3598, allocations: 59.86 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.3598, allocations: 12 kB / 1.359 GB, free: 2.227 MB / 1.045 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 0.0001225/0.3599, allocations: 143.2 kB / 1.36 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3599, allocations: 11.89 kB / 1.36 GB, free: 2.066 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.36, allocations: 8.375 kB / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.36, allocations: 4 kB / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.36, allocations: 0 / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.36, allocations: 0 / 1.36 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.3603, allocations: 333.5 kB / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3603, allocations: 0 / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.717e-06/0.3603, allocations: 4 kB / 1.36 GB, free: 1.676 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3603, allocations: 0 / 1.36 GB, free: 1.676 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3603, allocations: 4 kB / 1.36 GB, free: 1.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3603, allocations: 0 / 1.36 GB, free: 1.672 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3603, allocations: 3.938 kB / 1.36 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.3605, allocations: 203.4 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.3605, allocations: 7.953 kB / 1.36 GB, free: 1.445 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3606, allocations: 4 kB / 1.36 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/0.3606, allocations: 8 kB / 1.36 GB, free: 1.434 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.3606, allocations: 11.92 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3607, allocations: 4 kB / 1.36 GB, free: 1.418 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.324e-05/0.3607, allocations: 91.27 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3607, allocations: 3.938 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002841/0.361, allocations: 36 kB / 1.36 GB, free: 1.289 MB / 1.045 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.0001426/0.3612, allocations: 103.3 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.3615, allocations: 234.7 kB / 1.361 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3615, allocations: 0 / 1.361 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.266e-05/0.3616, allocations: 35.92 kB / 1.361 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3619, allocations: 14.05 kB / 1.361 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.3622, allocations: 200.2 kB / 1.361 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.3626, allocations: 0.6927 MB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.3626, allocations: 11.44 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3626, allocations: 0 / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of Templates: time 0.003413/0.366, allocations: 1.495 MB / 1.363 GB, free: 14.44 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.586840558011318]