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.00163/0.00163, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002034/0.002034, allocations: 215.2 kB / 22.24 MB, free: 5.262 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.789 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.346/3.346, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.002273/0.002273, allocations: 65.33 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3887, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00288/0.3915, allocations: 0.841 MB / 1.326 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003408/0.3919, allocations: 87.7 kB / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.392, allocations: 11.94 kB / 1.326 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.3921, allocations: 19.78 kB / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.3923, allocations: 19.86 kB / 1.326 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.439e-05/0.3924, allocations: 39.97 kB / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.3927, allocations: 251.4 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.3931, allocations: 170.8 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3932, allocations: 135.6 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.3935, allocations: 147.3 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.3935, allocations: 35.94 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.3936, allocations: 32 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.3937, allocations: 91.7 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.3939, allocations: 127.3 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.3944, allocations: 462 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3944, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3944, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.3944, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 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.0008696/0.3953, allocations: 0.5285 MB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.251e-05/0.3954, allocations: 15.97 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.3954, allocations: 40.66 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.3959, allocations: 267.3 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.396, allocations: 37.02 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.3961, allocations: 40.31 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.3967, allocations: 396.2 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3967, allocations: 4.188 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.3968, allocations: 19.94 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.3968, allocations: 8 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/0.3974, allocations: 303.4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.3988, allocations: 0.8417 MB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.3991, allocations: 93.16 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.803e-05/0.3991, allocations: 45.78 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.3992, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.3992, allocations: 34.56 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 9.51e-07/0.3992, allocations: 0 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003731/0.3996, allocations: 157.4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.3997, allocations: 77.11 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.4001, allocations: 345.5 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.4001, allocations: 25.7 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.4004, allocations: 220.3 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.4004, allocations: 7.953 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4005, allocations: 85.56 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.4007, allocations: 330.8 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4008, allocations: 67.95 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.401, allocations: 93.56 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.4012, allocations: 117.5 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4012, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003042/0.4015, allocations: 189.5 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4015, allocations: 8 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4015, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4015, allocations: 0 / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.4017, allocations: 35.92 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4017, allocations: 3.938 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.4018, allocations: 27.78 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.4018, allocations: 4 kB / 1.332 GB, free: 10.84 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.0002535/0.402, allocations: 200 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.4021, allocations: 15.91 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.4023, allocations: 108.6 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4023, allocations: 4.062 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.4023, allocations: 3.938 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4023, allocations: 4 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005947/0.4029, allocations: 0.5549 MB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4029, allocations: 4 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.4029, allocations: 3.938 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.403, allocations: 11.92 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.403, allocations: 0 / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.403, allocations: 4.125 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.403, allocations: 7.938 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.4031, allocations: 108 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.4032, allocations: 23.8 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.4032, allocations: 4.047 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.4032, allocations: 11.98 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.4033, allocations: 7.984 kB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.4033, allocations: 4 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002722/0.4035, allocations: 233.2 kB / 1.333 GB, free: 9.445 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4035, allocations: 0 / 1.333 GB, free: 9.445 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002651/0.4038, allocations: 63.67 kB / 1.334 GB, free: 9.383 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.0001679/0.404, allocations: 107.1 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.4042, allocations: 103.9 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4042, allocations: 0 / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.4042, allocations: 15.94 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.4045, allocations: 25.83 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.4053, allocations: 481.9 kB / 1.334 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.4055, allocations: 191.3 kB / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.361e-05/0.4056, allocations: 37.61 kB / 1.334 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.4056, allocations: 19.44 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4056, allocations: 0 / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of Templates: time 0.005232/0.4109, allocations: 1.328 MB / 1.336 GB, free: 7.047 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.371945405378938]