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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 113.9 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 190.3 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.2/3.2, allocations: 496 MB / 0.7835 GB, free: 33.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 65.64 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4042, allocations: 173.6 MB / 1.307 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002098/0.4063, allocations: 0.6917 MB / 1.308 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.4082, allocations: 1.218 MB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.4082, allocations: 0 / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.4083, allocations: 3.938 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.619e-05/0.4083, allocations: 11.88 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000735/0.4091, allocations: 226.7 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.4094, allocations: 175.6 kB / 1.31 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.4095, allocations: 8 kB / 1.31 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.4096, allocations: 71.88 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.4098, allocations: 67.8 kB / 1.31 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.4098, allocations: 16 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.4099, allocations: 27.98 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.4099, allocations: 19.97 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.903e-05/0.41, allocations: 55.84 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.4103, allocations: 159.5 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4103, allocations: 0 / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4103, allocations: 0 / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4103, allocations: 0 / 1.31 GB, free: 15 MB / 1.014 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.0006387/0.4109, allocations: 361.5 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.411, allocations: 8.031 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.4111, allocations: 16.89 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.4112, allocations: 110.5 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.4112, allocations: 12.38 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.4112, allocations: 12.31 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.4114, allocations: 53.61 kB / 1.311 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4114, allocations: 7.984 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4114, allocations: 0 / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4114, allocations: 3.984 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.37e-05/0.4115, allocations: 12 kB / 1.311 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006656/0.4121, allocations: 323.8 kB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4122, allocations: 46.5 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.4123, allocations: 16.94 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.4123, allocations: 0 / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.4126, allocations: 95.25 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.4126, allocations: 0 / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0003511/0.4129, allocations: 121.6 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.413, allocations: 67.33 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.4131, allocations: 121.8 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.4132, allocations: 29.7 kB / 1.311 GB, free: 13.44 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4133, allocations: 96.31 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.4133, allocations: 15.91 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.4134, allocations: 53.69 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4136, allocations: 322.8 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.4138, allocations: 59.97 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.414, allocations: 118.6 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.4143, allocations: 193.3 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4143, allocations: 0 / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005183/0.4148, allocations: 280.8 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.415, allocations: 68.95 kB / 1.312 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.415, allocations: 0 / 1.312 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.4151, allocations: 4 kB / 1.312 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.4151, allocations: 4.156 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.4152, allocations: 15.92 kB / 1.312 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.4155, allocations: 55.88 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.4155, allocations: 8 kB / 1.313 GB, free: 12.07 MB / 1.014 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.0001635/0.4157, allocations: 134.8 kB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.4157, allocations: 7.953 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.4157, allocations: 12.38 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4157, allocations: 0 / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.4157, allocations: 0 / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4158, allocations: 0 / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.4162, allocations: 333.8 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4162, allocations: 0 / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.4162, allocations: 7.938 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4162, allocations: 0 / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4162, allocations: 4 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.4162, allocations: 8 kB / 1.313 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.4162, allocations: 7.938 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.4165, allocations: 203.3 kB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.4165, allocations: 7.953 kB / 1.313 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.4165, allocations: 0 / 1.313 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.4166, allocations: 0 / 1.313 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.4166, allocations: 15.92 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.4166, allocations: 4 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001373/0.4168, allocations: 95.27 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4168, allocations: 0 / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003104/0.4171, allocations: 28 kB / 1.313 GB, free: 11.14 MB / 1.014 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.0002229/0.4173, allocations: 117.6 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000456/0.4178, allocations: 230.6 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4178, allocations: 0 / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.303e-05/0.4178, allocations: 24.3 kB / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.4182, allocations: 21.23 kB / 1.314 GB, free: 10.72 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.4187, allocations: 178.3 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.4191, allocations: 0.6885 MB / 1.315 GB, free: 9.809 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.4192, allocations: 4.953 kB / 1.315 GB, free: 9.805 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.4192, allocations: 15.42 kB / 1.315 GB, free: 9.789 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.4192, allocations: 8 kB / 1.315 GB, free: 9.781 MB / 1.014 GB Notification: Performance of Templates: time 0.006259/0.4255, allocations: 1.951 MB / 1.317 GB, free: 7.855 MB / 1.014 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/jenkins/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.407693515531719]