Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001371/0.001371, allocations: 102.1 kB / 19.7 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.00149/0.00149, allocations: 217.3 kB / 23.01 MB, free: 4.609 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.09/3.09, allocations: 0.49 GB / 0.7958 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001958/0.001958, allocations: 66.22 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3453, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001839/0.3471, allocations: 0.6898 MB / 1.328 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3487, allocations: 1.245 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.3488, allocations: 3.938 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.3488, allocations: 3.938 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.015e-05/0.3489, allocations: 11.92 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.3496, allocations: 228.4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.3498, allocations: 175.7 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.308e-05/0.3499, allocations: 8 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.35, allocations: 71.88 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.3502, allocations: 67.84 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.3502, allocations: 16 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-05/0.3503, allocations: 27.98 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.3503, allocations: 15.92 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.3504, allocations: 59.83 kB / 1.33 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.3507, allocations: 163.5 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3507, allocations: 0 / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3507, allocations: 0 / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3507, allocations: 0 / 1.33 GB, free: 14.71 MB / 1.029 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.0005618/0.3512, allocations: 365.5 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3513, allocations: 8.031 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.3513, allocations: 12.89 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3514, allocations: 110.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.3515, allocations: 8.375 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.3515, allocations: 16.38 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.3516, allocations: 53.61 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3516, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3517, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3517, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.3517, allocations: 19.92 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.3522, allocations: 323.7 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/0.3523, allocations: 46.55 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.3524, allocations: 16.94 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.3524, allocations: 0 / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.3526, allocations: 99.23 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.3526, allocations: 0 / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002811/0.3528, allocations: 121.6 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.3529, allocations: 55.39 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.353, allocations: 129.8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.353, allocations: 29.7 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.3531, allocations: 92.36 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.3531, allocations: 19.89 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.3532, allocations: 49.69 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3534, allocations: 322.8 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3535, allocations: 63.97 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3537, allocations: 113.9 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.3539, allocations: 181.3 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3539, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004729/0.3544, allocations: 288.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/0.3545, allocations: 67.39 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3545, allocations: 3.938 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3545, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.3545, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.3545, allocations: 4 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.3549, allocations: 63.97 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.3549, allocations: 12 kB / 1.332 GB, free: 11.78 MB / 1.029 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.000132/0.355, allocations: 135.9 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.355, allocations: 3.953 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.3551, allocations: 12.38 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3551, allocations: 4 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3551, allocations: 4 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3551, allocations: 0 / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.3555, allocations: 333.9 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3555, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.3555, allocations: 4 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3555, allocations: 96 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3555, allocations: 3.938 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3555, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3555, allocations: 7.938 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.3557, allocations: 203.4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.3557, allocations: 7.953 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.3558, allocations: 4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.162e-05/0.3558, allocations: 0 / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3558, allocations: 11.92 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3559, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.665e-05/0.3559, allocations: 99.75 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3559, allocations: 4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002751/0.3562, allocations: 28 kB / 1.333 GB, free: 10.85 MB / 1.029 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.000168/0.3564, allocations: 115.1 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003755/0.3568, allocations: 222.7 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3568, allocations: 0 / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.501e-05/0.3568, allocations: 31.92 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3571, allocations: 24.23 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.3575, allocations: 192.2 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3579, allocations: 0.6975 MB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.3579, allocations: 11.44 kB / 1.335 GB, free: 9.477 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3579, allocations: 0 / 1.335 GB, free: 9.477 MB / 1.029 GB Notification: Performance of Templates: time 0.003484/0.3614, allocations: 1.502 MB / 1.336 GB, free: 7.984 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.979429794999305]