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.001456/0.001456, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.001439/0.001439, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.562/2.562, allocations: 469.8 MB / 0.7427 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.98 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001909/0.3093, allocations: 0.7434 MB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3108, allocations: 1.194 MB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.3109, allocations: 4 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.3109, allocations: 7.938 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.311, allocations: 11.86 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.3116, allocations: 211.8 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3118, allocations: 183.8 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.008e-05/0.3119, allocations: 15.92 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.312, allocations: 71.88 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.3121, allocations: 51.88 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.3122, allocations: 16 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.48e-05/0.3123, allocations: 35.91 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.3123, allocations: 11.92 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.3124, allocations: 59.83 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.3125, allocations: 107.8 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3125, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3126, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3126, allocations: 0 / 1.067 GB, free: 12.36 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.0005744/0.3131, allocations: 447 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3132, allocations: 12.62 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.3133, allocations: 16.83 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3134, allocations: 164.3 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.3134, allocations: 8.375 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.3135, allocations: 8.375 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.3136, allocations: 53.8 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3136, allocations: 4 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3136, allocations: 3.938 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3136, allocations: 4 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.536e-05/0.3137, allocations: 15.98 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.3142, allocations: 348.7 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.389e-05/0.3143, allocations: 38.56 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.3143, allocations: 20.94 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.3144, allocations: 3.938 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.3146, allocations: 91.27 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 3.486e-06/0.3146, allocations: 7.984 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0002873/0.3149, allocations: 117.9 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.3149, allocations: 59.39 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.315, allocations: 121.7 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.3151, allocations: 37.8 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.3152, allocations: 100.3 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.3152, allocations: 19.8 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.3153, allocations: 49.69 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3154, allocations: 322.8 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3156, allocations: 59.97 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3158, allocations: 117.9 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.316, allocations: 181.3 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.316, allocations: 0 / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004686/0.3165, allocations: 284.7 kB / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/0.3166, allocations: 67.39 kB / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3166, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3166, allocations: 4 kB / 1.069 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.3167, allocations: 4 kB / 1.069 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3167, allocations: 4 kB / 1.069 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.317, allocations: 67.92 kB / 1.07 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.3171, allocations: 11.98 kB / 1.07 GB, free: 9.227 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.0001286/0.3172, allocations: 135.9 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.3172, allocations: 7.906 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.3173, allocations: 4.375 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3173, allocations: 0 / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3173, allocations: 0 / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3173, allocations: 0 / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.3176, allocations: 366.4 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3177, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.46e-05/0.3177, allocations: 8 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3177, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3177, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3177, allocations: 4 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.3177, allocations: 3.938 kB / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.3179, allocations: 211.3 kB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.318, allocations: 77.11 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.318, allocations: 8 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.3181, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.3181, allocations: 15.92 kB / 1.07 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3181, allocations: 7.938 kB / 1.07 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.423e-05/0.3182, allocations: 91.81 kB / 1.07 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3182, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002671/0.3185, allocations: 28 kB / 1.07 GB, free: 8.18 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.0001521/0.3186, allocations: 111.2 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.319, allocations: 258.6 kB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.319, allocations: 0 / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.3191, allocations: 31.98 kB / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3194, allocations: 20.61 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.3198, allocations: 221.4 kB / 1.071 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3201, allocations: 0.6924 MB / 1.072 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.3201, allocations: 11.44 kB / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3202, allocations: 0 / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of Templates: time 0.003213/0.3234, allocations: 1.482 MB / 1.073 GB, free: 5.289 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