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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 214.6 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.8 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 65.48 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3255, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002013/0.3275, allocations: 0.6886 MB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3292, allocations: 1.235 MB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.3292, allocations: 0 / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.3292, allocations: 3.938 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.3293, allocations: 19.84 kB / 1.287 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006695/0.33, allocations: 222 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.3302, allocations: 171.8 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.3303, allocations: 7.984 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3304, allocations: 75.83 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.3306, allocations: 67.83 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.3306, allocations: 16 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.3307, allocations: 31.92 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.3307, allocations: 12 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.3308, allocations: 63.81 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.331, allocations: 155.5 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.331, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.331, allocations: 3.938 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3311, allocations: 0 / 1.287 GB, free: 8.531 MB / 0.9825 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.0005351/0.3316, allocations: 369.5 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3316, allocations: 12.03 kB / 1.288 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.3317, allocations: 16.83 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3318, allocations: 118.5 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3318, allocations: 4.375 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.3319, allocations: 8.375 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.332, allocations: 65.55 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.332, allocations: 0 / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.332, allocations: 0 / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.332, allocations: 0 / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.332, allocations: 12 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.3326, allocations: 331.8 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.397e-05/0.3327, allocations: 38.5 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.3327, allocations: 12.86 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.3327, allocations: 3.984 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.3329, allocations: 87.45 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3329, allocations: 0 / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002879/0.3331, allocations: 129.5 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3332, allocations: 59.34 kB / 1.289 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3333, allocations: 129.7 kB / 1.289 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3333, allocations: 33.7 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.3334, allocations: 92.36 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.3334, allocations: 11.91 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-05/0.3335, allocations: 57.67 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3337, allocations: 322.8 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3338, allocations: 67.95 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.334, allocations: 102.3 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.3342, allocations: 185.3 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3342, allocations: 3.938 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004607/0.3347, allocations: 284.8 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/0.3347, allocations: 69.53 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3348, allocations: 7.984 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3348, allocations: 0 / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.3348, allocations: 8.156 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3348, allocations: 7.938 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.3351, allocations: 63.83 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.3352, allocations: 15.98 kB / 1.29 GB, free: 5.578 MB / 0.9825 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.0001197/0.3353, allocations: 128 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.3353, allocations: 11.95 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.3353, allocations: 4.375 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3353, allocations: 0 / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3354, allocations: 7.984 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3354, allocations: 0 / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.3357, allocations: 333.5 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3357, allocations: 0 / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.3357, allocations: 3.938 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3357, allocations: 0 / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3357, allocations: 7.984 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3357, allocations: 4 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3357, allocations: 3.938 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.3359, allocations: 195.4 kB / 1.291 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.3359, allocations: 11.95 kB / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.336, allocations: 0 / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.336, allocations: 3.984 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.3361, allocations: 11.94 kB / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.3361, allocations: 7.984 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.609e-05/0.3361, allocations: 91.28 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3361, allocations: 0 / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002845/0.3364, allocations: 40.11 kB / 1.291 GB, free: 4.656 MB / 0.9825 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.0001487/0.3366, allocations: 99.25 kB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000367/0.3369, allocations: 242.5 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3369, allocations: 320 / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.337, allocations: 28 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3373, allocations: 17.53 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.3377, allocations: 204.1 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.338, allocations: 0.6885 MB / 1.292 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.338, allocations: 11.44 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.338, allocations: 4 kB / 1.292 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of Templates: time 0.003448/0.3415, allocations: 1.495 MB / 1.293 GB, free: 1.809 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.30091667699162]