Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.001381/0.001381, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001515/0.001515, allocations: 222.1 kB / 23 MB, free: 4.91 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.831/2.831, allocations: 476 MB / 0.7707 GB, free: 4.758 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.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [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.0021/0.0021, allocations: 67.55 kB / 1.118 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3239, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00263/0.3266, allocations: 0.8462 MB / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003845/0.3269, allocations: 93.47 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3271, allocations: 8 kB / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.3272, allocations: 23.72 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.3273, allocations: 19.86 kB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.591e-05/0.3274, allocations: 35.97 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.3277, allocations: 251.5 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.3281, allocations: 170.8 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.3282, allocations: 143.4 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.3284, allocations: 143.3 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.3285, allocations: 32 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.3285, allocations: 32 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3286, allocations: 83.77 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3288, allocations: 131.3 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.3293, allocations: 458.1 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3293, allocations: 3.938 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3293, allocations: 3.938 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3294, allocations: 0 / 1.286 GB, free: 9.52 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008079/0.3302, allocations: 0.5285 MB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3302, allocations: 12.03 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.3303, allocations: 40.66 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.3308, allocations: 274.5 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.3308, allocations: 37.02 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.3309, allocations: 36.38 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.3315, allocations: 396.2 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3315, allocations: 192 / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.3316, allocations: 15.94 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.3316, allocations: 12 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.3321, allocations: 303.5 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.3335, allocations: 0.8341 MB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3337, allocations: 93.16 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.3338, allocations: 45.78 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3338, allocations: 0 / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.3338, allocations: 34.56 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.3338, allocations: 3.938 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003631/0.3342, allocations: 157.8 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.3342, allocations: 77.11 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.3346, allocations: 349.5 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3347, allocations: 25.7 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3348, allocations: 220.3 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.3349, allocations: 7.953 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.335, allocations: 81.62 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3351, allocations: 330.8 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3353, allocations: 67.95 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3354, allocations: 89.66 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.3356, allocations: 113.6 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3356, allocations: 0 / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003075/0.3359, allocations: 197.4 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3359, allocations: 10.34 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3359, allocations: 0 / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3359, allocations: 0 / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.3361, allocations: 31.98 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3361, allocations: 3.938 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.3361, allocations: 27.78 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3361, allocations: 4 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (couTru.booToInt[1].y,couTru.booToInt[2].y,couTru.booToInt[3].y,couTru.booToInt[4].y,couTru.booToInt[5].y,couTru.booToInt[6].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y,couTruAllFal.booToInt[1].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[6].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0002748/0.3364, allocations: 203.5 kB / 1.291 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.3365, allocations: 15.91 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.3367, allocations: 112.6 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3367, allocations: 4.062 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3367, allocations: 3.938 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3367, allocations: 4 kB / 1.291 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.3373, allocations: 0.5508 MB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3373, allocations: 0 / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.3373, allocations: 4 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3373, allocations: 7.938 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3373, allocations: 3.984 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3373, allocations: 0 / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3373, allocations: 8.125 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.3375, allocations: 115.5 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.3376, allocations: 27.8 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3376, allocations: 4 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.3376, allocations: 4 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.3376, allocations: 11.98 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.3377, allocations: 4 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002658/0.3379, allocations: 233.2 kB / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3379, allocations: 0 / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002541/0.3382, allocations: 59.73 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (couTru.y,couTru.intEqu.y,couTruAllFal.y,couTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001253/0.3383, allocations: 103.2 kB / 1.292 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.3385, allocations: 107.8 kB / 1.292 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3385, allocations: 480 / 1.292 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.611e-05/0.3385, allocations: 12 kB / 1.292 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3388, allocations: 24.38 kB / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.3396, allocations: 0.4995 MB / 1.293 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3398, allocations: 183.4 kB / 1.293 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.3398, allocations: 19.44 kB / 1.293 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3398, allocations: 0 / 1.293 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of Templates: time 0.005491/0.3453, allocations: 3.192 MB / 1.296 GB, free: 15.25 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.396538543980569]