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.008437/0.008437, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001504/0.001505, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.468/2.468, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.88 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3739, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002054/0.376, allocations: 0.6835 MB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.3778, allocations: 1.2 MB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.3779, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.378, allocations: 3.938 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.723e-05/0.3781, allocations: 7.922 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.3788, allocations: 236.5 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.379, allocations: 187.7 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3791, allocations: 11.98 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3792, allocations: 67.88 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3794, allocations: 71.78 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.3794, allocations: 16 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.361e-05/0.3795, allocations: 27.98 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.3796, allocations: 15.92 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.3797, allocations: 59.88 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.3799, allocations: 163.5 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3799, allocations: 0 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.627e-06/0.3799, allocations: 3.984 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.3799, allocations: 0 / 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.0005976/0.3805, allocations: 430.8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3806, allocations: 12.02 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.3807, allocations: 12.84 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3808, allocations: 168.3 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.3808, allocations: 12.38 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.3809, allocations: 8.375 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.381, allocations: 53.61 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.381, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.381, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.3811, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.993e-05/0.3811, allocations: 19.92 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.3817, allocations: 356.6 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.915e-05/0.3818, allocations: 46.56 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.3818, allocations: 16.94 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.3818, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.382, allocations: 95.2 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.382, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002971/0.3823, allocations: 121.9 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3824, allocations: 59.48 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3825, allocations: 125.7 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3826, allocations: 29.7 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.3826, allocations: 92.36 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.3827, allocations: 19.8 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-05/0.3828, allocations: 53.69 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3829, allocations: 326.8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.383, allocations: 63.97 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.3832, allocations: 105.9 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.3834, allocations: 189.3 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3834, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004427/0.3839, allocations: 280.7 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.384, allocations: 71.39 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.384, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.384, allocations: 4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.3841, allocations: 4.156 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3841, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.3844, allocations: 59.77 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.3844, allocations: 16.09 kB / 1.093 GB, free: 11.64 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.0001275/0.3845, allocations: 130.8 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.3846, allocations: 15.89 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.3846, allocations: 8.375 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3846, allocations: 7.938 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3846, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3846, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.385, allocations: 362.4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.385, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-06/0.385, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.385, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.385, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.385, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.385, allocations: 3.938 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3852, allocations: 203.5 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.3853, allocations: 85.02 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.3853, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.3854, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.3854, allocations: 11.92 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3854, allocations: 4 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.5e-05/0.3855, allocations: 99.2 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3855, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002722/0.3858, allocations: 36 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.0002321/0.386, allocations: 107.2 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.3864, allocations: 250.7 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3864, allocations: 0 / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.3865, allocations: 36.23 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3869, allocations: 21.39 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.3873, allocations: 174.4 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.3876, allocations: 0.6885 MB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.814e-05/0.3876, allocations: 4.672 kB / 1.096 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.3876, allocations: 15.44 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3876, allocations: 3.938 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of Templates: time 0.004994/0.3926, allocations: 1.985 MB / 1.097 GB, free: 7.242 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