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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001466/0.001466, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001631/0.001631, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.222/1.222, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.301/2.301, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 64.83 kB / 0.8987 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2115, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001792/0.2133, allocations: 0.9217 MB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002001/0.2135, allocations: 83.64 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.2136, allocations: 4 kB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.737e-05/0.2137, allocations: 15.86 kB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2138, allocations: 19.92 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.289e-05/0.2139, allocations: 39.97 kB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.2141, allocations: 239.5 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.2144, allocations: 298.3 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.2145, allocations: 131.5 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2147, allocations: 139.3 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.2147, allocations: 32 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.409e-05/0.2148, allocations: 32 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.2148, allocations: 91.7 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2149, allocations: 155.1 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.2152, allocations: 438.6 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2152, allocations: 4 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2152, allocations: 0 / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2152, allocations: 0 / 1.055 GB, free: 6.016 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.0005179/0.2158, allocations: 0.5889 MB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2158, allocations: 12.62 kB / 1.056 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.796e-05/0.2159, allocations: 74.72 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.2159, allocations: 40.47 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.2162, allocations: 332.1 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.2163, allocations: 41.02 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.2163, allocations: 32.38 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.2168, allocations: 400.2 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2169, allocations: 3.938 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2169, allocations: 12 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2169, allocations: 8 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.2173, allocations: 303.6 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.2184, allocations: 1.045 MB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.2185, allocations: 97.16 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.2186, allocations: 49.78 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2186, allocations: 4 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.2186, allocations: 30.56 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.103e-06/0.2186, allocations: 4 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.000262/0.2189, allocations: 165.1 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.2189, allocations: 93.03 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.2194, allocations: 0.5052 MB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2194, allocations: 29.64 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2195, allocations: 203.5 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.2195, allocations: 19.8 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.2196, allocations: 53.7 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.2197, allocations: 346.8 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.154e-05/0.2198, allocations: 67.95 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.2199, allocations: 87.39 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.22, allocations: 113.6 kB / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.22, allocations: 0 / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002534/0.2203, allocations: 213.1 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.2203, allocations: 4.188 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2203, allocations: 384 / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2203, allocations: 15.88 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.2205, allocations: 27.92 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2205, allocations: 7.984 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.2205, allocations: 31.62 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.2206, allocations: 8 kB / 1.06 GB, free: 0.7344 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.0001426/0.2207, allocations: 203.4 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.2208, allocations: 35.53 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.2209, allocations: 118 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.221, allocations: 3.938 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.221, allocations: 4 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.221, allocations: 0 / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.2214, allocations: 0.6526 MB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2214, allocations: 0 / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.2214, allocations: 7.984 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2214, allocations: 4 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.2215, allocations: 0 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.2215, allocations: 3.938 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2215, allocations: 8 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.2216, allocations: 127.4 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.2217, allocations: 124.6 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.2217, allocations: 4 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.868e-05/0.2217, allocations: 4 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.2218, allocations: 4 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.2218, allocations: 7.938 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000333/0.2221, allocations: 391 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2221, allocations: 0 / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002113/0.2223, allocations: 39.98 kB / 1.062 GB, free: 14.88 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.0003221/0.2227, allocations: 0.6653 MB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001745/0.2228, allocations: 115.8 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2229, allocations: 0 / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.2229, allocations: 12 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.2231, allocations: 25.94 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.2258, allocations: 2.987 MB / 1.065 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.226, allocations: 0.787 MB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.977e-05/0.2261, allocations: 54.94 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2262, allocations: 95.41 kB / 1.066 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2262, allocations: 7.938 kB / 1.066 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9028/1.129, allocations: 5.478 MB / 1.072 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.129, allocations: 233.7 kB / 1.072 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.852, allocations: 0 / 1.072 GB, free: 4.406 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 -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat --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) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches