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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.614/1.614, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.863/2.863, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.91 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002401/1.035, allocations: 0.8654 MB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002754/1.035, allocations: 92.38 kB / 1.28 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/1.035, allocations: 7.219 kB / 1.28 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001481/1.036, allocations: 22.45 kB / 1.28 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/1.036, allocations: 18.38 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.855e-05/1.036, allocations: 38.3 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003708/1.036, allocations: 254.1 kB / 1.28 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/1.037, allocations: 234.3 kB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/1.037, allocations: 135.2 kB / 1.281 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/1.037, allocations: 144.6 kB / 1.281 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/1.037, allocations: 32.06 kB / 1.281 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5e-05/1.037, allocations: 33.53 kB / 1.281 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/1.037, allocations: 86.66 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/1.037, allocations: 158.6 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006186/1.038, allocations: 454.8 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.038, allocations: 0 / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/1.038, allocations: 0.5312 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.032e-05/1.038, allocations: 4 kB / 1.281 GB, free: 10.34 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.0009959/1.039, allocations: 0.6022 MB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.039, allocations: 9.781 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.718e-05/1.039, allocations: 9.5 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.041e-05/1.039, allocations: 71.67 kB / 1.282 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/1.039, allocations: 42.5 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/1.04, allocations: 348.9 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/1.04, allocations: 37.12 kB / 1.283 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/1.04, allocations: 33.88 kB / 1.283 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/1.041, allocations: 402.7 kB / 1.283 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.041, allocations: 0 / 1.283 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/1.041, allocations: 15.22 kB / 1.283 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/1.041, allocations: 7.406 kB / 1.283 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/1.041, allocations: 302 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/1.043, allocations: 1.048 MB / 1.284 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/1.043, allocations: 89.55 kB / 1.284 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/1.043, allocations: 44.12 kB / 1.284 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/1.043, allocations: 4.594 kB / 1.284 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/1.043, allocations: 36.5 kB / 1.284 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/1.043, allocations: 1.094 kB / 1.284 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0004063/1.044, allocations: 175.8 kB / 1.285 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/1.044, allocations: 83.16 kB / 1.285 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007159/1.044, allocations: 0.5075 MB / 1.285 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/1.044, allocations: 26.95 kB / 1.285 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/1.045, allocations: 201 kB / 1.285 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/1.045, allocations: 24.14 kB / 1.285 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/1.045, allocations: 53.06 kB / 1.285 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.045, allocations: 343.9 kB / 1.286 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/1.045, allocations: 72.58 kB / 1.286 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/1.045, allocations: 95.2 kB / 1.286 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/1.045, allocations: 118.8 kB / 1.286 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.045, allocations: 0 / 1.286 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003177/1.046, allocations: 216.8 kB / 1.286 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.046, allocations: 5.375 kB / 1.286 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.046, allocations: 0 / 1.286 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.046, allocations: 5.094 kB / 1.286 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/1.046, allocations: 30.31 kB / 1.286 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.046, allocations: 1.219 kB / 1.286 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.665e-05/1.046, allocations: 37.64 kB / 1.286 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/1.046, allocations: 5.844 kB / 1.286 GB, free: 7.086 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.0002221/1.046, allocations: 200.4 kB / 1.287 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/1.046, allocations: 35.52 kB / 1.287 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/1.047, allocations: 118.1 kB / 1.287 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.047, allocations: 1.484 kB / 1.287 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.047, allocations: 0 / 1.287 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.047, allocations: 1.906 kB / 1.287 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/1.047, allocations: 0.6586 MB / 1.287 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/1.047, allocations: 1.062 kB / 1.287 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/1.047, allocations: 3.781 kB / 1.287 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.047, allocations: 1.281 kB / 1.287 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/1.047, allocations: 2.812 kB / 1.287 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.047, allocations: 3.938 kB / 1.287 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.047, allocations: 1.906 kB / 1.287 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/1.048, allocations: 134.6 kB / 1.287 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/1.048, allocations: 120.2 kB / 1.288 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/1.048, allocations: 1.344 kB / 1.288 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.585e-05/1.048, allocations: 6.656 kB / 1.288 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/1.048, allocations: 10.64 kB / 1.288 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/1.048, allocations: 5.344 kB / 1.288 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005092/1.048, allocations: 388.7 kB / 1.288 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.048, allocations: 5.344 kB / 1.288 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002532/1.049, allocations: 40.03 kB / 1.288 GB, free: 5.836 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.0005397/1.049, allocations: 0.6684 MB / 1.289 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002407/1.049, allocations: 103.3 kB / 1.289 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.049, allocations: 3.938 kB / 1.289 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-05/1.049, allocations: 14.31 kB / 1.289 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/1.05, allocations: 34.52 kB / 1.289 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/1.053, allocations: 2.912 MB / 1.292 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/1.054, allocations: 0.7925 MB / 1.292 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001283/1.054, allocations: 61.23 kB / 1.292 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/1.054, allocations: 94.27 kB / 1.293 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.054, allocations: 0 / 1.293 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/1.08, allocations: 5.718 MB / 1.298 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/9.835, allocations: 12.69 kB / 1.298 GB, free: 1.891 MB / 0.9981 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/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: 16.434744101017714]