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.002013/0.002013, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002493/0.002493, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.302/3.302, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 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.002312/0.002312, allocations: 64.77 kB / 1.187 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3525, allocations: 181.9 MB / 1.365 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001987/0.3545, allocations: 0.6728 MB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3563, allocations: 1.222 MB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.3563, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.3564, allocations: 3.938 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.3564, allocations: 11.94 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.3571, allocations: 225.4 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.3575, allocations: 175.7 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.331e-05/0.3576, allocations: 8 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3577, allocations: 71.88 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.3578, allocations: 51.8 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.176e-05/0.3579, allocations: 16 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.971e-05/0.358, allocations: 39.97 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.358, allocations: 8 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.3581, allocations: 59.81 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.3583, allocations: 151.6 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3583, allocations: 4 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3583, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3583, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 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.0005892/0.3589, allocations: 365.5 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.359, allocations: 8.031 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.359, allocations: 12.89 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3591, allocations: 110.5 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.3592, allocations: 8.375 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.3592, allocations: 12.38 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3593, allocations: 61.48 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3593, allocations: 0 / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3593, allocations: 0 / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3593, allocations: 0 / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.3594, allocations: 19.98 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.3599, allocations: 284.3 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.36, allocations: 30.56 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.36, allocations: 17.92 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.36, allocations: 4.094 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.3603, allocations: 99.23 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3603, allocations: 0 / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0003219/0.3606, allocations: 129.5 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3606, allocations: 51.41 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3607, allocations: 129.8 kB / 1.369 GB, free: 9.336 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.3608, allocations: 29.7 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.3609, allocations: 92.33 kB / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.3609, allocations: 23.88 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.361, allocations: 49.69 kB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3611, allocations: 330.8 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.3613, allocations: 123.4 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.3616, allocations: 168.3 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.3618, allocations: 185.3 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3618, allocations: 4 kB / 1.37 GB, free: 8.246 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005304/0.3623, allocations: 344.2 kB / 1.37 GB, free: 7.879 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.3624, allocations: 67.39 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3624, allocations: 0 / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3624, allocations: 4 kB / 1.37 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/0.3625, allocations: 11.94 kB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.3625, allocations: 8.359 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.3628, allocations: 59.97 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.3628, allocations: 11.98 kB / 1.37 GB, free: 7.707 MB / 1.061 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.0001268/0.363, allocations: 133.7 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.363, allocations: 15.89 kB / 1.37 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.363, allocations: 8.375 kB / 1.37 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.363, allocations: 3.984 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.363, allocations: 0 / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.363, allocations: 0 / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.3634, allocations: 302.1 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3634, allocations: 0 / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.3634, allocations: 8 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3634, allocations: 0 / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3634, allocations: 0 / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3634, allocations: 0 / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3634, allocations: 0 / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.3636, allocations: 207.3 kB / 1.371 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.3636, allocations: 11.95 kB / 1.371 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.3636, allocations: 0 / 1.371 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.427e-05/0.3637, allocations: 0 / 1.371 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.3637, allocations: 7.984 kB / 1.371 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3637, allocations: 8 kB / 1.371 GB, free: 6.945 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.513e-05/0.3638, allocations: 99.2 kB / 1.371 GB, free: 6.848 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3638, allocations: 0 / 1.371 GB, free: 6.848 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002904/0.3641, allocations: 28 kB / 1.371 GB, free: 6.82 MB / 1.061 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.0001695/0.3643, allocations: 117.1 kB / 1.371 GB, free: 6.699 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004186/0.3647, allocations: 286.1 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3647, allocations: 0 / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.3648, allocations: 36.05 kB / 1.371 GB, free: 6.348 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3651, allocations: 20.3 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.3655, allocations: 192.2 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.914e-05/0.3656, allocations: 75.33 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.3656, allocations: 15.38 kB / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of SimCode: time 6.02e-07/0.3656, allocations: 0 / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of Templates: time 0.003747/0.3694, allocations: 1.505 MB / 1.373 GB, free: 4.512 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.249812395777553]