Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.344/1.344, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.64 kB / 0.8991 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3216, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002624/0.3243, allocations: 0.9124 MB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003171/0.3246, allocations: 99.56 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3248, allocations: 4 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.3249, allocations: 11.86 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.3251, allocations: 11.94 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.736e-05/0.3252, allocations: 35.98 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.3254, allocations: 235.4 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.3258, allocations: 286.3 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.326, allocations: 107.5 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3261, allocations: 123.3 kB / 1.055 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.3262, allocations: 20 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-05/0.3262, allocations: 20 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.724e-05/0.3263, allocations: 79.69 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.3264, allocations: 135.1 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.3267, allocations: 343.3 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3267, allocations: 0 / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.91e-07/0.3267, allocations: 0 / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3268, allocations: 0 / 1.055 GB, free: 5.879 MB / 0.8106 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.0007041/0.3275, allocations: 0.5966 MB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3275, allocations: 12.03 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.894e-05/0.3276, allocations: 36.47 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.328, allocations: 336.1 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.328, allocations: 33.03 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.3281, allocations: 32.38 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.3287, allocations: 396.2 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3288, allocations: 4.125 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.3288, allocations: 15.94 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3288, allocations: 8 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.3293, allocations: 303.6 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.3311, allocations: 1.049 MB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3313, allocations: 93.16 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.822e-05/0.3314, allocations: 45.8 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.3314, allocations: 3.984 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3314, allocations: 38.56 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.3314, allocations: 0 / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004663/0.3319, allocations: 165.1 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.332, allocations: 85.05 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.3326, allocations: 0.5091 MB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3327, allocations: 29.7 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.3329, allocations: 207.5 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3329, allocations: 11.91 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.333, allocations: 57.55 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.3332, allocations: 350.8 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.3333, allocations: 67.95 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3335, allocations: 86.91 kB / 1.06 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3336, allocations: 125.5 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3337, allocations: 0 / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003442/0.334, allocations: 205.2 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.334, allocations: 4 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3341, allocations: 4 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3341, allocations: 4 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3342, allocations: 35.86 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3343, allocations: 4 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3344, allocations: 35.53 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.3344, allocations: 4 kB / 1.06 GB, free: 0.6719 MB / 0.8106 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.0002428/0.3347, allocations: 203.5 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/0.3348, allocations: 35.53 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.335, allocations: 114 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.335, allocations: 4.125 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.335, allocations: 0 / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.3351, allocations: 7.938 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000689/0.3357, allocations: 0.6564 MB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3358, allocations: 0 / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.3358, allocations: 4 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.3358, allocations: 4 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3358, allocations: 0 / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3358, allocations: 0 / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3358, allocations: 4 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.336, allocations: 131.7 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.3361, allocations: 120.7 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.3362, allocations: 11.92 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.689e-05/0.3363, allocations: 0 / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.3363, allocations: 11.98 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3363, allocations: 4 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004927/0.3368, allocations: 391 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3368, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002729/0.3371, allocations: 36 kB / 1.062 GB, free: 14.82 MB / 0.8262 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.0001661/0.3373, allocations: 103.2 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.3375, allocations: 103.9 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3375, allocations: 0 / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.3376, allocations: 23.94 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3379, allocations: 37.42 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/0.3389, allocations: 0.6075 MB / 1.062 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.3393, allocations: 0.7872 MB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.3394, allocations: 23.44 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3394, allocations: 0 / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of Templates: time 0.006648/0.346, allocations: 3.777 MB / 1.067 GB, free: 9.285 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1)