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.00172/0.00172, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002148/0.002148, allocations: 210.6 kB / 22.24 MB, free: 4.859 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.612/1.612, allocations: 230.6 MB / 256 MB, free: 8.043 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.569/3.569, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.002098/0.002098, allocations: 72.73 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4639, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00236/0.4663, allocations: 0.6651 MB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.4682, allocations: 1.222 MB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.4683, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.4683, allocations: 3.938 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/0.4684, allocations: 15.84 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.4691, allocations: 220.9 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.4694, allocations: 179.7 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.4695, allocations: 11.98 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.4696, allocations: 63.91 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.4698, allocations: 63.83 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.4698, allocations: 16 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.335e-05/0.4699, allocations: 23.94 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.4699, allocations: 19.91 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.47, allocations: 51.91 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.4703, allocations: 163.5 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4703, allocations: 0 / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4703, allocations: 4 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4703, allocations: 0 / 1.366 GB, free: 10.86 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.0005981/0.4709, allocations: 361.5 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4709, allocations: 8.031 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.471, allocations: 12.89 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.4711, allocations: 110.5 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.4711, allocations: 12.36 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.4712, allocations: 12.38 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.4713, allocations: 61.55 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4713, allocations: 0 / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4713, allocations: 8 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4713, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.4714, allocations: 12 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.472, allocations: 272.4 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.4721, allocations: 34.58 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.4721, allocations: 17.94 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-06/0.4722, allocations: 0 / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.4724, allocations: 99.3 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.4724, allocations: 0 / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0003394/0.4727, allocations: 133.5 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.4728, allocations: 55.41 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.4729, allocations: 113.8 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.4729, allocations: 29.7 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.473, allocations: 100.3 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.4731, allocations: 15.91 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.4732, allocations: 57.62 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4733, allocations: 323.1 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.4735, allocations: 127.3 kB / 1.368 GB, free: 8.734 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.4738, allocations: 165.8 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.474, allocations: 185.3 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.474, allocations: 3.938 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005514/0.4746, allocations: 352.2 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.587e-05/0.4746, allocations: 67.39 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4746, allocations: 4 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4747, allocations: 4.156 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.4747, allocations: 4 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.4747, allocations: 4 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.4751, allocations: 59.86 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.4751, allocations: 16 kB / 1.369 GB, free: 7.777 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.0001441/0.4753, allocations: 132.7 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.4753, allocations: 11.95 kB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.4753, allocations: 8.375 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4753, allocations: 4 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4753, allocations: 0 / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4753, allocations: 0 / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.4757, allocations: 294.1 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4757, allocations: 4 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.4757, allocations: 4 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4757, allocations: 0 / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4758, allocations: 7.984 kB / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4758, allocations: 0 / 1.37 GB, free: 7.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4758, allocations: 4 kB / 1.37 GB, free: 7.266 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.476, allocations: 199.5 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.476, allocations: 11.94 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.476, allocations: 0 / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.817e-05/0.4761, allocations: 7.984 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.4761, allocations: 7.938 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.4762, allocations: 11.92 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.062e-05/0.4762, allocations: 95.45 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4762, allocations: 0 / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002909/0.4765, allocations: 43.92 kB / 1.37 GB, free: 6.879 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.0002138/0.4767, allocations: 105.4 kB / 1.37 GB, free: 6.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.4772, allocations: 294 kB / 1.37 GB, free: 6.445 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4772, allocations: 0 / 1.37 GB, free: 6.445 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.205e-05/0.4773, allocations: 23.98 kB / 1.37 GB, free: 6.422 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.4776, allocations: 15.98 kB / 1.37 GB, free: 6.406 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.478, allocations: 174.8 kB / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.4781, allocations: 79.33 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.4781, allocations: 8.656 kB / 1.371 GB, free: 6.105 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.4782, allocations: 15.44 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4782, allocations: 0 / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of Templates: time 0.005618/0.4838, allocations: 2.15 MB / 1.373 GB, free: 3.992 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/jenkins/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: 9.911851175129414]