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.001642/0.001642, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002089/0.002089, allocations: 204.9 kB / 23 MB, free: 4.934 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.437/3.437, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] 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.002156/0.002156, allocations: 68.19 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4003, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001933/0.4022, allocations: 0.6695 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.4039, allocations: 1.229 MB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.4039, allocations: 0 / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.404, allocations: 0 / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.404, allocations: 11.81 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.4047, allocations: 227.4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.4049, allocations: 183.6 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.405, allocations: 8 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.4051, allocations: 67.89 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.4052, allocations: 67.84 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.4053, allocations: 12 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.4053, allocations: 31.98 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.4054, allocations: 15.92 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.4055, allocations: 55.89 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.4057, allocations: 155.5 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.4057, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.787e-06/0.4057, allocations: 3.984 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.4057, allocations: 0 / 1.33 GB, free: 14.29 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.0005766/0.4063, allocations: 365.5 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4063, allocations: 12.02 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.4064, allocations: 12.89 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4065, allocations: 110.5 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.4065, allocations: 4.375 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.4065, allocations: 8.375 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.4067, allocations: 61.61 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4067, allocations: 3.984 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4067, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4067, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.4067, allocations: 11.98 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.4072, allocations: 284.3 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/0.4073, allocations: 30.56 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.4073, allocations: 16.86 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.4074, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.4075, allocations: 103.4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.4076, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003044/0.4079, allocations: 129.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.4079, allocations: 51.41 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.408, allocations: 129.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.408, allocations: 33.7 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.4081, allocations: 88.38 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.4081, allocations: 19.89 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.4082, allocations: 53.62 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4084, allocations: 326.8 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.4086, allocations: 123.4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.4088, allocations: 169.4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.4091, allocations: 189.3 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4091, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005224/0.4096, allocations: 344.4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.4096, allocations: 71.42 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4096, allocations: 7.984 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4097, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.4097, allocations: 7.938 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4097, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.41, allocations: 59.83 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.4101, allocations: 11.98 kB / 1.332 GB, free: 11.19 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.0001185/0.4102, allocations: 131.1 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.4102, allocations: 11.95 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.4102, allocations: 4.375 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4102, allocations: 3.984 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4102, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.4103, allocations: 11.89 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.4103, allocations: 4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.513e-05/0.4103, allocations: 3.938 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.4103, allocations: 7.984 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002023/0.4105, allocations: 181.3 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002439/0.4108, allocations: 278.8 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.207e-05/0.4108, allocations: 27.92 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.091e-05/0.4109, allocations: 91.27 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of Backend: time 2.4e-07/0.4109, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.4116, allocations: 350 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006227/0.4122, allocations: 0.6164 MB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of Templates: time 0.005272/0.4175, allocations: 2.266 MB / 1.336 GB, free: 7.152 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: 9.596290672001487]