Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7611 GB, free: 15.68 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 63.91 kB / 1.104 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8291/0.8312, allocations: 168.7 MB / 1.269 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001994/0.8332, allocations: 0.8651 MB / 1.27 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002418/0.8335, allocations: 88.62 kB / 1.27 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.8335, allocations: 3.281 kB / 1.27 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.8337, allocations: 31.09 kB / 1.27 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.8338, allocations: 13.45 kB / 1.27 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.702e-05/0.8339, allocations: 39.16 kB / 1.27 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000299/0.8342, allocations: 250.2 kB / 1.27 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.8345, allocations: 238.3 kB / 1.27 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.8347, allocations: 132.2 kB / 1.27 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.8348, allocations: 143.2 kB / 1.27 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.8349, allocations: 33.34 kB / 1.27 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-05/0.8349, allocations: 32.53 kB / 1.271 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.835, allocations: 86.73 kB / 1.271 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.8351, allocations: 154.4 kB / 1.271 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.8356, allocations: 463.8 kB / 1.271 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.8356, allocations: 0 / 1.271 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8357, allocations: 0.6875 kB / 1.271 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.475e-06/0.8357, allocations: 0 / 1.271 GB, free: 6.348 MB / 0.9981 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.0006518/0.8363, allocations: 0.6057 MB / 1.272 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.8364, allocations: 13.5 kB / 1.272 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.332e-05/0.8364, allocations: 82.61 kB / 1.272 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.8365, allocations: 39.39 kB / 1.272 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.8369, allocations: 345.3 kB / 1.272 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.837, allocations: 33.66 kB / 1.272 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.837, allocations: 33.72 kB / 1.272 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.8376, allocations: 394.4 kB / 1.273 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.8376, allocations: 7.938 kB / 1.273 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.8377, allocations: 14.62 kB / 1.273 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.8377, allocations: 8.25 kB / 1.273 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.8381, allocations: 307 kB / 1.273 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.8394, allocations: 1.051 MB / 1.274 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.8395, allocations: 93.23 kB / 1.274 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.8396, allocations: 45.78 kB / 1.274 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.8396, allocations: 1.344 kB / 1.274 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.8396, allocations: 32.03 kB / 1.274 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.8396, allocations: 0 / 1.274 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003162/0.8399, allocations: 178.9 kB / 1.274 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.84, allocations: 82.27 kB / 1.274 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.8405, allocations: 0.5065 MB / 1.275 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.8405, allocations: 26.27 kB / 1.275 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.8406, allocations: 199.1 kB / 1.275 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.8406, allocations: 17.28 kB / 1.275 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.8407, allocations: 56.61 kB / 1.275 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.8408, allocations: 343.6 kB / 1.276 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.8409, allocations: 73.69 kB / 1.276 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.841, allocations: 87.25 kB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.8411, allocations: 115.9 kB / 1.276 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8412, allocations: 0.7188 kB / 1.276 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000278/0.8414, allocations: 209.3 kB / 1.276 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.8414, allocations: 6.578 kB / 1.276 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.8415, allocations: 0 / 1.276 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.8415, allocations: 5.562 kB / 1.276 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.8416, allocations: 29.91 kB / 1.276 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.8416, allocations: 1.562 kB / 1.276 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.8417, allocations: 50.45 kB / 1.276 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.8417, allocations: 5.969 kB / 1.276 GB, free: 3.09 MB / 0.9981 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.0001678/0.8419, allocations: 200.9 kB / 1.276 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.842, allocations: 30.25 kB / 1.276 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.8422, allocations: 118.9 kB / 1.276 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.8422, allocations: 5.5 kB / 1.276 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8422, allocations: 0.875 kB / 1.276 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8422, allocations: 1 kB / 1.276 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.8426, allocations: 0.661 MB / 1.277 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8426, allocations: 5.062 kB / 1.277 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.8427, allocations: 6.984 kB / 1.277 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.8427, allocations: 2.062 kB / 1.277 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.8427, allocations: 0.6875 kB / 1.277 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.8427, allocations: 5.719 kB / 1.277 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8427, allocations: 0.875 kB / 1.277 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.8428, allocations: 132.5 kB / 1.277 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.373e-05/0.8429, allocations: 120.8 kB / 1.277 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.8429, allocations: 5.906 kB / 1.277 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.843, allocations: 3.125 kB / 1.277 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.843, allocations: 4.047 kB / 1.277 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.843, allocations: 6.594 kB / 1.277 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003947/0.8434, allocations: 390.4 kB / 1.278 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8434, allocations: 4 kB / 1.278 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000246/0.8436, allocations: 45.02 kB / 1.278 GB, free: 1.828 MB / 0.9981 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.0002859/0.8439, allocations: 0.6717 MB / 1.278 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.8441, allocations: 98.12 kB / 1.279 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8441, allocations: 0.7812 kB / 1.279 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.8442, allocations: 17.95 kB / 1.279 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.8444, allocations: 30.27 kB / 1.279 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.8478, allocations: 2.913 MB / 1.281 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.8482, allocations: 0.793 MB / 1.282 GB, free: 14.65 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.8484, allocations: 54.86 kB / 1.282 GB, free: 14.65 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.8485, allocations: 94.38 kB / 1.282 GB, free: 14.58 MB / 1.014 GB Notification: Performance of SimCode: time 6.52e-07/0.8485, allocations: 4 kB / 1.282 GB, free: 14.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08961/0.9381, allocations: 5.689 MB / 1.288 GB, free: 13.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/9.431, allocations: 14.14 kB / 1.288 GB, free: 13.89 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.09026370383799]