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.001841/0.001841, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00221/0.00221, allocations: 222.2 kB / 23 MB, free: 4.91 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.82 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 2.849/2.849, allocations: 476 MB / 0.7707 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] 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.002112/0.002112, allocations: 64.86 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3351, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002038/0.3371, allocations: 0.6709 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.339, allocations: 1.208 MB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.339, allocations: 0 / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.3391, allocations: 7.938 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.238e-05/0.3391, allocations: 11.88 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007347/0.3399, allocations: 222 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.3402, allocations: 179.7 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3403, allocations: 8 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3404, allocations: 75.88 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.3405, allocations: 59.84 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.3406, allocations: 16 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.012e-05/0.3407, allocations: 23.98 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.3407, allocations: 15.88 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3408, allocations: 63.81 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.341, allocations: 155.5 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3411, allocations: 0 / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3411, allocations: 0 / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.3411, allocations: 4 kB / 1.286 GB, free: 9.215 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.0007147/0.3418, allocations: 365.5 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3418, allocations: 12.03 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/0.3419, allocations: 20.92 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3421, allocations: 118.5 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.3421, allocations: 4.375 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.3421, allocations: 8.375 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3423, allocations: 57.61 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3423, allocations: 0 / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3423, allocations: 3.938 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.3423, allocations: 0 / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.3423, allocations: 15.98 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005678/0.3429, allocations: 276.4 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.343, allocations: 38.56 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.3431, allocations: 12.86 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.3431, allocations: 7.938 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.3433, allocations: 91.42 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3433, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003273/0.3436, allocations: 129.6 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.3437, allocations: 51.41 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3438, allocations: 121.8 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.3438, allocations: 33.7 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.3439, allocations: 96.27 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.3439, allocations: 23.88 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3441, allocations: 54.06 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3442, allocations: 322.8 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.3444, allocations: 123.4 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.3446, allocations: 169.3 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3449, allocations: 181.3 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3449, allocations: 4 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005452/0.3454, allocations: 356.2 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.3455, allocations: 69.89 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3455, allocations: 0 / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3455, allocations: 4 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.3456, allocations: 7.984 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3456, allocations: 0 / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.3459, allocations: 63.98 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.346, allocations: 19.97 kB / 1.289 GB, free: 6.109 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.000137/0.3461, allocations: 132.7 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.3461, allocations: 3.953 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.3461, allocations: 12.38 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3461, allocations: 0 / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3461, allocations: 0 / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3462, allocations: 3.984 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.3466, allocations: 306.1 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3466, allocations: 0 / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.3466, allocations: 3.984 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3466, allocations: 4 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3466, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3466, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3466, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.3468, allocations: 203.4 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.3469, allocations: 7.938 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.3469, allocations: 4 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.3469, allocations: 3.938 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.347, allocations: 15.98 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.347, allocations: 8.125 kB / 1.29 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.848e-05/0.3471, allocations: 95.75 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3471, allocations: 3.938 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002867/0.3473, allocations: 32 kB / 1.29 GB, free: 5.227 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.0001949/0.3475, allocations: 107.2 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.348, allocations: 286.1 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.348, allocations: 4.312 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.3481, allocations: 31.94 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.3484, allocations: 15.97 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.3489, allocations: 192.2 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.144e-05/0.3489, allocations: 79.27 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.349, allocations: 15.38 kB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.349, allocations: 4 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of Templates: time 0.003655/0.3526, allocations: 1.499 MB / 1.292 GB, free: 2.922 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/jenkins1/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: 11.098133927676827]