Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00961/0.00961, allocations: 101.5 kB / 15.73 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002283/0.002283, allocations: 196.7 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 67.3 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3626, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001963/0.3646, allocations: 0.6774 MB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3662, allocations: 1.2 MB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.3663, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.3663, allocations: 3.938 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.986e-05/0.3664, allocations: 11.92 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.3671, allocations: 222.1 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.3674, allocations: 199.6 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3675, allocations: 16 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3676, allocations: 67.88 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.3677, allocations: 63.84 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.3678, allocations: 16 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.3679, allocations: 31.97 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.3679, allocations: 7.938 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.862e-05/0.368, allocations: 63.81 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.3682, allocations: 151.6 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3682, allocations: 4 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3682, allocations: 0 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.3682, allocations: 3.938 kB / 1.091 GB, free: 14.75 MB / 0.8575 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.0005784/0.3688, allocations: 442.6 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3689, allocations: 12.03 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.3689, allocations: 12.89 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3691, allocations: 160.4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.3691, allocations: 16.36 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.3692, allocations: 8.375 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3693, allocations: 53.61 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.3693, allocations: 7.938 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3693, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3693, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.055e-05/0.3694, allocations: 12 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.3699, allocations: 364.5 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.37, allocations: 42.56 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.3701, allocations: 20.86 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.3701, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.3703, allocations: 87.39 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.3703, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002844/0.3706, allocations: 129.5 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.3706, allocations: 59.41 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.3707, allocations: 121.8 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.3708, allocations: 33.7 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.3709, allocations: 92.38 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3709, allocations: 19.89 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.371, allocations: 57.67 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3711, allocations: 318.8 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3712, allocations: 59.95 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.3714, allocations: 110 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.3716, allocations: 185.3 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3716, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004214/0.3721, allocations: 284.8 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.3721, allocations: 63.41 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3721, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3722, allocations: 7.984 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.3722, allocations: 7.938 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.3722, allocations: 4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.3726, allocations: 59.98 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.3726, allocations: 19.92 kB / 1.093 GB, free: 11.62 MB / 0.8575 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.0001133/0.3727, allocations: 131.7 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.3727, allocations: 3.953 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.3728, allocations: 12.47 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3728, allocations: 3.984 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.3728, allocations: 4 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3728, allocations: 3.984 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.3731, allocations: 354.5 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3731, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.3731, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3732, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3732, allocations: 3.984 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3732, allocations: 480 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3732, allocations: 3.938 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.3734, allocations: 207.4 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.3734, allocations: 81.06 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.3734, allocations: 8 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.3735, allocations: 3.984 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3735, allocations: 7.938 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3736, allocations: 4 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.3736, allocations: 91.27 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3736, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000277/0.3739, allocations: 32 kB / 1.094 GB, free: 10.58 MB / 0.8575 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.0001736/0.3741, allocations: 119.2 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.3744, allocations: 258.7 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3745, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.3745, allocations: 35.92 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.3748, allocations: 28.23 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.3752, allocations: 164.6 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.3755, allocations: 0.6846 MB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.3755, allocations: 8.656 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.3755, allocations: 15.38 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.3756, allocations: 0 / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of Templates: time 0.004667/0.3802, allocations: 1.934 MB / 1.097 GB, free: 7.281 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches