Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002446/0.002446, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002517/0.002517, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.21/3.21, allocations: 0.4899 GB / 0.7915 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [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.002084/0.002084, allocations: 74.89 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3676, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002365/0.3699, allocations: 0.8772 MB / 1.322 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003083/0.3702, allocations: 91.69 kB / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.534e-05/0.3703, allocations: 4 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.3705, allocations: 23.73 kB / 1.322 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.3706, allocations: 11.86 kB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.774e-05/0.3707, allocations: 39.97 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.371, allocations: 251.5 kB / 1.322 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.3714, allocations: 242.3 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3715, allocations: 127.5 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.3717, allocations: 147.3 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.3718, allocations: 32 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.748e-05/0.3718, allocations: 32 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3719, allocations: 95.64 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3721, allocations: 155.1 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.3726, allocations: 458.1 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3726, allocations: 7.938 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3726, allocations: 0 / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3726, allocations: 4 kB / 1.324 GB, free: 284 kB / 1.014 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.0008048/0.3734, allocations: 0.596 MB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3734, allocations: 15.98 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.3735, allocations: 40.66 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.3739, allocations: 332.3 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.374, allocations: 41.02 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.374, allocations: 32.38 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.3747, allocations: 396.2 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3747, allocations: 192 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.3747, allocations: 15.94 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3747, allocations: 8 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.3752, allocations: 311.3 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.3767, allocations: 1.054 MB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3769, allocations: 93.14 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.3769, allocations: 41.8 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3769, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.377, allocations: 34.56 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.377, allocations: 4 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003823/0.3774, allocations: 173.3 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.3774, allocations: 84.98 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.378, allocations: 0.5092 MB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3781, allocations: 25.7 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.3782, allocations: 199.8 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3782, allocations: 19.89 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.3783, allocations: 57.64 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3785, allocations: 346.8 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3786, allocations: 71.95 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.3787, allocations: 95.69 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3789, allocations: 109.7 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3789, allocations: 0 / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003222/0.3792, allocations: 217.3 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3793, allocations: 12 kB / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3793, allocations: 0 / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3793, allocations: 0 / 1.328 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.3794, allocations: 31.92 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3794, allocations: 0 / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/0.3795, allocations: 43.61 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.3796, allocations: 4 kB / 1.329 GB, free: 11.05 MB / 1.029 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.000221/0.3798, allocations: 203.5 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.3799, allocations: 35.77 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.3801, allocations: 114 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.3801, allocations: 3.938 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3801, allocations: 0 / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3801, allocations: 0 / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/0.3808, allocations: 0.6643 MB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3808, allocations: 0 / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.3808, allocations: 4 kB / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3808, allocations: 0 / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3808, allocations: 4 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3808, allocations: 0 / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3808, allocations: 0 / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.381, allocations: 139.5 kB / 1.33 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3811, allocations: 124.8 kB / 1.33 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.3811, allocations: 4 kB / 1.33 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.394e-05/0.3812, allocations: 4 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.3812, allocations: 11.98 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.3812, allocations: 0 / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004571/0.3817, allocations: 391 kB / 1.33 GB, free: 9.238 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3817, allocations: 0 / 1.33 GB, free: 9.238 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000256/0.3819, allocations: 36 kB / 1.33 GB, free: 9.203 MB / 1.029 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.0001339/0.382, allocations: 107.1 kB / 1.33 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.3823, allocations: 103.8 kB / 1.33 GB, free: 8.984 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3823, allocations: 4 kB / 1.33 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.3823, allocations: 12 kB / 1.33 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.3826, allocations: 34.39 kB / 1.33 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.3834, allocations: 0.5134 MB / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.3838, allocations: 0.7833 MB / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.384, allocations: 62.92 kB / 1.332 GB, free: 7.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.384, allocations: 19.44 kB / 1.332 GB, free: 7.5 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.384, allocations: 0 / 1.332 GB, free: 7.5 MB / 1.029 GB Notification: Performance of Templates: time 0.005918/0.3899, allocations: 2.015 MB / 1.334 GB, free: 5.492 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.093954207841307]