Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001338/0.001338, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001359/0.001359, allocations: 189.9 kB / 17.2 MB, free: 5.598 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.778/2.778, allocations: 469.8 MB / 0.743 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 69.95 kB / 0.9092 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3714, allocations: 159.1 MB / 1.065 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002009/0.3735, allocations: 0.6826 MB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3752, allocations: 1.201 MB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.3752, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.3753, allocations: 7.922 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.3753, allocations: 3.938 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.376, allocations: 222 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.3763, allocations: 195.6 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.3764, allocations: 7.984 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.72e-05/0.3765, allocations: 67.89 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3766, allocations: 55.86 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.3766, allocations: 16 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.3767, allocations: 31.98 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.3767, allocations: 15.92 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.704e-05/0.3768, allocations: 55.83 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.3771, allocations: 155.6 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3771, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3771, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3771, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8419 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.0005901/0.3777, allocations: 446.9 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3778, allocations: 8.625 kB / 1.068 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.3778, allocations: 16.83 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.378, allocations: 168.3 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.378, allocations: 8.375 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.378, allocations: 8.375 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.3782, allocations: 61.8 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3782, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3782, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3782, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.3783, allocations: 19.97 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.3788, allocations: 356.6 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.11e-05/0.3789, allocations: 46.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.379, allocations: 16.94 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.379, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.3792, allocations: 91.2 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3792, allocations: 0 / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0002993/0.3795, allocations: 121.6 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.3796, allocations: 55.39 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3797, allocations: 125.8 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.3798, allocations: 33.7 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.3798, allocations: 92.36 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3799, allocations: 15.8 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.38, allocations: 53.69 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3802, allocations: 326.8 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3803, allocations: 59.97 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.3805, allocations: 107.9 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.3808, allocations: 189.3 kB / 1.07 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3808, allocations: 384 / 1.07 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005078/0.3813, allocations: 280.8 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.3814, allocations: 71.39 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3814, allocations: 0 / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3814, allocations: 7.938 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.189e-05/0.3814, allocations: 7.938 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3815, allocations: 160 / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.3819, allocations: 67.77 kB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.3819, allocations: 15.98 kB / 1.07 GB, free: 8.93 MB / 0.8419 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.0001215/0.382, allocations: 125.7 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.3821, allocations: 7.906 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.3821, allocations: 8.375 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3821, allocations: 8 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3821, allocations: 3.938 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3821, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.3825, allocations: 362.4 kB / 1.071 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3825, allocations: 0 / 1.071 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-06/0.3825, allocations: 0 / 1.071 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3825, allocations: 0 / 1.071 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3826, allocations: 8 kB / 1.071 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3826, allocations: 0 / 1.071 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3826, allocations: 7.938 kB / 1.071 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.3828, allocations: 195.4 kB / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.3829, allocations: 81.11 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.3829, allocations: 4 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.542e-05/0.3829, allocations: 4 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.383, allocations: 7.922 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.383, allocations: 8 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.3831, allocations: 95.45 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3831, allocations: 0 / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000286/0.3834, allocations: 35.94 kB / 1.071 GB, free: 7.887 MB / 0.8419 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.0001682/0.3835, allocations: 111.2 kB / 1.071 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.384, allocations: 254.7 kB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.384, allocations: 4 kB / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.3841, allocations: 36.23 kB / 1.071 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.3844, allocations: 22.33 kB / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.3848, allocations: 192.1 kB / 1.072 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3852, allocations: 0.6885 MB / 1.072 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.3852, allocations: 15.44 kB / 1.072 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3852, allocations: 0 / 1.072 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of Templates: time 0.003547/0.3888, allocations: 1.493 MB / 1.074 GB, free: 5.012 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches