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.001145/0.001145, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00125/0.00125, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.881/2.881, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 10.28 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3829, allocations: 159.6 MB / 1.058 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00117/0.3842, allocations: 0.5481 MB / 1.059 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002451/0.3844, allocations: 83.69 kB / 1.059 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.3845, allocations: 8 kB / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3846, allocations: 15.86 kB / 1.059 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.3848, allocations: 7.938 kB / 1.059 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.744e-05/0.3849, allocations: 27.97 kB / 1.059 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.3851, allocations: 227.5 kB / 1.059 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.3855, allocations: 238.7 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.3855, allocations: 67.58 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.3856, allocations: 75.45 kB / 1.059 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.3857, allocations: 8 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.983e-05/0.3857, allocations: 12 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.3858, allocations: 43.78 kB / 1.059 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.3858, allocations: 73.52 kB / 1.059 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.3861, allocations: 339.2 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3861, allocations: 0 / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3861, allocations: 0 / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3861, allocations: 0 / 1.06 GB, free: 3.488 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.0005815/0.3867, allocations: 0.5341 MB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3868, allocations: 12.03 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.3868, allocations: 39.53 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.3872, allocations: 322.9 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/0.3873, allocations: 32.64 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.3874, allocations: 39.95 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.3879, allocations: 391.7 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.388, allocations: 0 / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.388, allocations: 12 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.388, allocations: 11.94 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.3884, allocations: 307.5 kB / 1.061 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.3898, allocations: 1.057 MB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3899, allocations: 85.22 kB / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.39, allocations: 49.8 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.39, allocations: 7.922 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3901, allocations: 38.55 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3901, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003204/0.3904, allocations: 165.2 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3905, allocations: 77.11 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/0.391, allocations: 0.5052 MB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3911, allocations: 29.7 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.3912, allocations: 199.6 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.3912, allocations: 15.75 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.3913, allocations: 8 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3914, allocations: 350.8 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.3915, allocations: 63.95 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3916, allocations: 81.67 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.987e-05/0.3917, allocations: 67.91 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3918, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002813/0.392, allocations: 205.2 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3921, allocations: 8 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3921, allocations: 7.938 kB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3921, allocations: 0 / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3923, allocations: 35.92 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3923, allocations: 0 / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.3924, allocations: 35.53 kB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.3924, allocations: 11.98 kB / 1.064 GB, free: 14.48 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.y,couTru.mulMin.y,couTru.intEqu.y,couTru.booToInt[6].y,couTru.booToInt[5].y,couTru.booToInt[4].y,couTru.booToInt[3].y,couTru.booToInt[2].y,couTru.booToInt[1].y,couTruAllFal.y,couTruAllFal.mulMin.y,couTruAllFal.intEqu.y,couTruAllFal.booToInt[6].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[1].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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.3926, allocations: 199.5 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.3927, allocations: 39.53 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.3929, allocations: 114 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3929, allocations: 384 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3929, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3929, allocations: 3.984 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.3935, allocations: 0.6526 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3935, allocations: 0 / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.3935, allocations: 7.984 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3935, allocations: 0 / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3935, allocations: 8 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3936, allocations: 0 / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3936, allocations: 7.891 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.3937, allocations: 127.4 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.3938, allocations: 120.7 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.3939, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.3939, allocations: 4 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.3939, allocations: 11.95 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.3939, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003927/0.3943, allocations: 387 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3944, allocations: 0 / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002366/0.3946, allocations: 43.84 kB / 1.066 GB, free: 12.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.3947, allocations: 103.2 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.3949, allocations: 103.9 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.395, allocations: 0 / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.818e-05/0.395, allocations: 20.47 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.3953, allocations: 37.48 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.396, allocations: 0.5355 MB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.3964, allocations: 0.7911 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000104/0.3965, allocations: 54.94 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.3965, allocations: 19.44 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3965, allocations: 4 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.005011/0.4015, allocations: 1.782 MB / 1.069 GB, free: 9.125 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)