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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008894, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005277/0.005277, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.344/2.344, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003095, allocations: 7.875 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2135, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.0008588/0.2144, allocations: 0.5791 MB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001927/0.2146, allocations: 87.64 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.2147, allocations: 3.938 kB / 1.059 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.854e-05/0.2147, allocations: 15.86 kB / 1.059 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.475e-05/0.2148, allocations: 11.92 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.175e-05/0.2149, allocations: 31.98 kB / 1.059 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.2151, allocations: 235.5 kB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.2154, allocations: 278.3 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.867e-05/0.2155, allocations: 67.55 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.2156, allocations: 99.23 kB / 1.06 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2156, allocations: 8 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.2156, allocations: 8 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.2157, allocations: 43.73 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.2158, allocations: 140.8 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.216, allocations: 402.5 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.216, allocations: 0 / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.216, allocations: 0 / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2161, allocations: 0 / 1.061 GB, free: 2.887 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.0004573/0.2165, allocations: 0.5228 MB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.2166, allocations: 11.97 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.103e-05/0.2166, allocations: 74.72 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.2167, allocations: 44.45 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.217, allocations: 320.1 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/0.217, allocations: 37.02 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.2171, allocations: 32.38 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.2176, allocations: 404.2 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2176, allocations: 7.922 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.2176, allocations: 12 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.2176, allocations: 12 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.218, allocations: 299.6 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.2191, allocations: 1.057 MB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.2193, allocations: 89.16 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/0.2193, allocations: 49.8 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.2193, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.2194, allocations: 34.56 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.2194, allocations: 3.938 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002688/0.2196, allocations: 177.2 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2197, allocations: 81.05 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.2201, allocations: 0.5091 MB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2202, allocations: 25.7 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2203, allocations: 199.5 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.2203, allocations: 19.8 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.2203, allocations: 37.7 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.2204, allocations: 346.8 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.2205, allocations: 63.95 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2206, allocations: 87.39 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.2208, allocations: 117.5 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2208, allocations: 0 / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002557/0.2211, allocations: 213.2 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.2211, allocations: 4 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2211, allocations: 0 / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2211, allocations: 7.938 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.2212, allocations: 31.92 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2212, allocations: 4 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.2213, allocations: 35.53 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.2213, allocations: 8 kB / 1.066 GB, free: 13.69 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.000153/0.2215, allocations: 199.5 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.2216, allocations: 35.56 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.2217, allocations: 118 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2218, allocations: 3.938 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2218, allocations: 4 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2218, allocations: 4.125 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.2222, allocations: 0.6448 MB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2222, allocations: 7.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.2222, allocations: 7.922 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2222, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.2223, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2223, allocations: 7.938 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2223, allocations: 128 / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.2224, allocations: 127.3 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.2225, allocations: 128.6 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.2225, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.994e-05/0.2226, allocations: 4 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.2226, allocations: 19.92 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.2226, allocations: 0 / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003435/0.2229, allocations: 391 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2229, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002118/0.2232, allocations: 32 kB / 1.067 GB, free: 11.83 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.0003181/0.2235, allocations: 0.6731 MB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.2237, allocations: 108.3 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2237, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-05/0.2237, allocations: 12 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.224, allocations: 35.36 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.2267, allocations: 2.971 MB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.2269, allocations: 0.7872 MB / 1.072 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.041e-05/0.227, allocations: 66.86 kB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.2271, allocations: 98.39 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2271, allocations: 3.938 kB / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.699/3.926, allocations: 5.261 MB / 1.077 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/3.927, allocations: 227.7 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.31/10.24, allocations: 1.094 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1)