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.0007741/0.0007741, allocations: 92.16 kB / 16.02 MB, free: 76 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.0009244/0.0009245, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 8.062 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3373, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001226/0.3386, allocations: 0.5635 MB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.3389, allocations: 99.56 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.3391, allocations: 0 / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.3392, allocations: 15.86 kB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.3393, allocations: 11.88 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.946e-05/0.3394, allocations: 43.97 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.3397, allocations: 227.5 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004252/0.3402, allocations: 274.3 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3403, allocations: 71.53 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.3405, allocations: 87.38 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.3405, allocations: 4 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.597e-05/0.3405, allocations: 15.94 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.3406, allocations: 43.73 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.3408, allocations: 144.8 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.3411, allocations: 331.2 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3411, allocations: 0 / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.408e-06/0.3411, allocations: 3.984 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.3412, allocations: 0 / 1.061 GB, free: 3.012 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.0008125/0.342, allocations: 0.5265 MB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.342, allocations: 12.03 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.3422, allocations: 40.47 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.3427, allocations: 336.1 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.452e-05/0.3428, allocations: 41.02 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.3428, allocations: 28.38 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.3436, allocations: 396.2 kB / 1.063 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3436, allocations: 192 / 1.063 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.3436, allocations: 19.94 kB / 1.063 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3436, allocations: 8 kB / 1.063 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.3441, allocations: 303.5 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.3457, allocations: 1.053 MB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3459, allocations: 93.16 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.346, allocations: 45.86 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.346, allocations: 0 / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3461, allocations: 42.55 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.3461, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003861/0.3465, allocations: 165.2 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.3465, allocations: 85.05 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006098/0.3472, allocations: 0.5091 MB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3472, allocations: 25.7 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3473, allocations: 203.4 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.3474, allocations: 15.81 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.3474, allocations: 33.7 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3476, allocations: 354.8 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.3477, allocations: 63.95 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3478, allocations: 91.16 kB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.348, allocations: 117.5 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.348, allocations: 0 / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003181/0.3483, allocations: 209.1 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3483, allocations: 8 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3483, allocations: 0 / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3484, allocations: 4 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.3485, allocations: 35.92 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3485, allocations: 3.938 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3486, allocations: 35.53 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.3487, allocations: 4 kB / 1.066 GB, free: 13.89 MB / 0.8262 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.0001976/0.3489, allocations: 199.5 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.349, allocations: 35.81 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.3492, allocations: 121.9 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3492, allocations: 7.875 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3492, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3492, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.3498, allocations: 0.6564 MB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3498, allocations: 0 / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.3498, allocations: 8 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3498, allocations: 0 / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3498, allocations: 4 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3498, allocations: 0 / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3498, allocations: 0 / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.35, allocations: 135.3 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3501, allocations: 120.7 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.3501, allocations: 4 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.3502, allocations: 12 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.3502, allocations: 4.406 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.3502, allocations: 4 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004153/0.3507, allocations: 395 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3507, allocations: 0 / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002599/0.3509, allocations: 35.91 kB / 1.068 GB, free: 12.04 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.0001242/0.3511, allocations: 99.25 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3513, allocations: 107.8 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3513, allocations: 0 / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.3513, allocations: 20.06 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.3516, allocations: 45.41 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008104/0.3525, allocations: 0.6114 MB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.3528, allocations: 0.7833 MB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.3529, allocations: 23.44 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.3529, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.006638/0.3595, allocations: 3.72 MB / 1.073 GB, free: 6.551 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)