Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001483/0.001483, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001631/0.001631, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.148/3.148, allocations: 475.9 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002126/0.002126, allocations: 69.56 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4082, allocations: 169.9 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002138/0.4103, allocations: 0.6776 MB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.4122, allocations: 1.211 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.4122, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.4123, allocations: 7.922 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.63e-05/0.4123, allocations: 11.92 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.413, allocations: 229.5 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.4133, allocations: 171.7 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.4134, allocations: 15.97 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.4135, allocations: 67.89 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.4137, allocations: 63.72 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.4137, allocations: 16 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.165e-05/0.4138, allocations: 24 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.4138, allocations: 15.97 kB / 1.285 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.4139, allocations: 59.83 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.4142, allocations: 151.6 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4142, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4142, allocations: 4 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.4142, allocations: 3.938 kB / 1.286 GB, free: 9.199 MB / 0.9825 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.0007155/0.4149, allocations: 365.5 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.415, allocations: 12.03 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.4151, allocations: 8.938 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.4152, allocations: 114.5 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.4152, allocations: 8.375 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.4153, allocations: 12.38 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.4154, allocations: 61.55 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4154, allocations: 0 / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4155, allocations: 4 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.4155, allocations: 3.984 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.398e-05/0.4155, allocations: 12 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.4161, allocations: 284.3 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.4162, allocations: 34.56 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.4162, allocations: 8.859 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.4162, allocations: 4 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.4164, allocations: 99.38 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.4164, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003396/0.4168, allocations: 129.8 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.4168, allocations: 55.41 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.417, allocations: 125.8 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.417, allocations: 29.8 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.4171, allocations: 96.27 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.4171, allocations: 15.91 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4172, allocations: 57.67 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.4174, allocations: 322.8 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4176, allocations: 123.4 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.4178, allocations: 165.4 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.418, allocations: 185.3 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.418, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005382/0.4186, allocations: 356.2 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.4186, allocations: 67.39 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4186, allocations: 0 / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4187, allocations: 8 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.4187, allocations: 7.938 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.4187, allocations: 7.984 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.4191, allocations: 59.77 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.4191, allocations: 16.12 kB / 1.288 GB, free: 6.094 MB / 0.9825 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.0001421/0.4192, allocations: 133.7 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.4192, allocations: 3.953 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.4193, allocations: 12.38 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4193, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4193, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4193, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.4197, allocations: 298.1 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4197, allocations: 0 / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-06/0.4197, allocations: 4 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4197, allocations: 4 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4197, allocations: 7.984 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4197, allocations: 0 / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4197, allocations: 0 / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.4199, allocations: 207.4 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.42, allocations: 7.953 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.42, allocations: 3.984 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/0.42, allocations: 0 / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.4201, allocations: 11.98 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.4201, allocations: 4 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.596e-05/0.4202, allocations: 99.75 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4202, allocations: 0 / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002774/0.4204, allocations: 32 kB / 1.289 GB, free: 5.219 MB / 0.9825 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.0001875/0.4206, allocations: 107.1 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.4211, allocations: 286.1 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4211, allocations: 4 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.4211, allocations: 27.92 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.4214, allocations: 24.28 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/0.4218, allocations: 167.4 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.565e-05/0.4219, allocations: 75.27 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.56e-05/0.4219, allocations: 16.59 kB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.422, allocations: 11.44 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.422, allocations: 0 / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of Templates: time 0.005737/0.4277, allocations: 2.18 MB / 1.292 GB, free: 2.305 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.047673856839538]