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.00223/0.00223, allocations: 110 kB / 18.93 MB, free: 2.945 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.001573/0.001573, allocations: 182.9 kB / 22.22 MB, free: 5.16 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.538/1.538, allocations: 225.6 MB / 251 MB, free: 13 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.811/2.811, allocations: 476.7 MB / 0.7646 GB, free: 9.906 MB / 0.6231 GB " [Timeout remaining time 177] 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.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="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 67.89 kB / 1.11 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9011/0.9033, allocations: 168.8 MB / 1.274 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002613/0.9059, allocations: 0.8728 MB / 1.275 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003065/0.9062, allocations: 95.58 kB / 1.275 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.9063, allocations: 4 kB / 1.275 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.9065, allocations: 19.73 kB / 1.275 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.9066, allocations: 19.86 kB / 1.275 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.835e-05/0.9067, allocations: 39.97 kB / 1.275 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.9071, allocations: 255.5 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.9074, allocations: 166.9 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.9076, allocations: 139.5 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.9077, allocations: 143.3 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.139e-05/0.9078, allocations: 36 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.589e-05/0.9078, allocations: 32 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.551e-05/0.9079, allocations: 83.72 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.9081, allocations: 159.1 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.9086, allocations: 456.5 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.9086, allocations: 0 / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9086, allocations: 0 / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.9086, allocations: 0 / 1.277 GB, free: 1.727 MB / 0.9669 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.0007758/0.9094, allocations: 0.5401 MB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9094, allocations: 12.03 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.9095, allocations: 40.7 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.91, allocations: 278.4 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.9101, allocations: 37.02 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.9101, allocations: 32.38 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.9107, allocations: 400.2 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.9108, allocations: 192 / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.9108, allocations: 23.94 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.9108, allocations: 8 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.9113, allocations: 299.6 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.9128, allocations: 1.016 MB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.913, allocations: 93.2 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.9131, allocations: 43.38 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.9131, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.9131, allocations: 38.5 kB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.9131, allocations: 0 / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003755/0.9135, allocations: 177.7 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.9135, allocations: 85.05 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.9142, allocations: 0.5053 MB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.9142, allocations: 29.69 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.9144, allocations: 203.7 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.9144, allocations: 15.94 kB / 1.281 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-05/0.9145, allocations: 53.66 kB / 1.281 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.9147, allocations: 346.8 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.9148, allocations: 67.95 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.9149, allocations: 89.66 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.9151, allocations: 121.5 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9151, allocations: 0 / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003102/0.9154, allocations: 205.4 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.9154, allocations: 10.19 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9154, allocations: 0 / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.9154, allocations: 3.938 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.9156, allocations: 31.92 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.9156, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.9157, allocations: 47.62 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.9157, allocations: 4 kB / 1.281 GB, free: 12.7 MB / 0.9825 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.0002168/0.9159, allocations: 203.5 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.916, allocations: 31.81 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.9162, allocations: 114.1 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.9162, allocations: 8 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.9162, allocations: 0 / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9162, allocations: 0 / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000656/0.9169, allocations: 0.6282 MB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.9169, allocations: 7.984 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.9169, allocations: 8.062 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.9169, allocations: 4 kB / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.9169, allocations: 0 / 1.282 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9169, allocations: 4 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9169, allocations: 0 / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.9171, allocations: 131.5 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.9172, allocations: 47.75 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.9172, allocations: 192 / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.9173, allocations: 4 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.9173, allocations: 15.86 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.9173, allocations: 0 / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004696/0.9178, allocations: 391 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9178, allocations: 0 / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002452/0.918, allocations: 43.89 kB / 1.283 GB, free: 10.97 MB / 0.9825 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.0001158/0.9181, allocations: 103.2 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.9184, allocations: 99.88 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9184, allocations: 0 / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.757e-05/0.9184, allocations: 15.94 kB / 1.283 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.9187, allocations: 33.53 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.9195, allocations: 0.5175 MB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.92, allocations: 0.787 MB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.9201, allocations: 54.94 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.9201, allocations: 27.42 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.9201, allocations: 0 / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of Templates: time 0.006218/0.9264, allocations: 2.062 MB / 1.287 GB, free: 7.211 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.219119439832866]