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.001254/0.001254, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001577/0.001577, allocations: 206 kB / 22.99 MB, free: 4.957 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.293/3.293, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002047/0.002047, allocations: 73.59 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4043, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002271/0.4065, allocations: 0.847 MB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003073/0.4068, allocations: 91.64 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.4069, allocations: 4 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.4071, allocations: 19.78 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.4072, allocations: 19.86 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.922e-05/0.4073, allocations: 43.97 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.4077, allocations: 255.4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/0.408, allocations: 174.8 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.4082, allocations: 135.5 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.4084, allocations: 151.2 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.4085, allocations: 32 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.774e-05/0.4085, allocations: 32 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.4086, allocations: 79.78 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.4087, allocations: 127.3 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004939/0.4092, allocations: 466 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4092, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4092, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.4092, allocations: 0 / 1.329 GB, free: 14.58 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.000793/0.41, allocations: 0.5285 MB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4101, allocations: 12.03 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.386e-05/0.4102, allocations: 40.66 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.4107, allocations: 267.2 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.4107, allocations: 37.02 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.4108, allocations: 32.38 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.4115, allocations: 400.2 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4115, allocations: 4.188 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.4115, allocations: 19.94 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.4115, allocations: 8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.412, allocations: 303.4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.4134, allocations: 0.8417 MB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.4136, allocations: 85.16 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/0.4137, allocations: 49.73 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.4137, allocations: 3.984 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4137, allocations: 38.56 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.4137, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000357/0.4141, allocations: 157.4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.4141, allocations: 81.05 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.4145, allocations: 349.5 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.4146, allocations: 25.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.4147, allocations: 216.4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.4147, allocations: 7.953 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.4148, allocations: 73.64 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.415, allocations: 334.8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.4151, allocations: 71.95 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.4153, allocations: 95.59 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.4155, allocations: 117.6 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4155, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002968/0.4158, allocations: 193.4 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4158, allocations: 8 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4158, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4158, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.416, allocations: 31.92 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.416, allocations: 3.938 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.416, allocations: 23.78 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.416, allocations: 8 kB / 1.334 GB, free: 9.957 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.00022/0.4163, allocations: 208 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.4163, allocations: 15.91 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.4165, allocations: 109 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4165, allocations: 0 / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4165, allocations: 3.938 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4166, allocations: 7.984 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.4171, allocations: 0.5548 MB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4171, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.4171, allocations: 4 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4171, allocations: 7.938 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4172, allocations: 0 / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.383e-06/0.4172, allocations: 7.922 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4172, allocations: 4 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.4173, allocations: 115.6 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.4174, allocations: 23.92 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.4174, allocations: 8 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.4174, allocations: 0 / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.4175, allocations: 11.92 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.4175, allocations: 4 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002592/0.4177, allocations: 233.2 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4177, allocations: 0 / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002606/0.418, allocations: 59.72 kB / 1.335 GB, free: 8.496 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.000137/0.4181, allocations: 103.2 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.4183, allocations: 104.2 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4183, allocations: 4.188 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.747e-05/0.4184, allocations: 15.94 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.4186, allocations: 30.09 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.4194, allocations: 481.9 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.4196, allocations: 187.3 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.583e-05/0.4197, allocations: 45.59 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.4198, allocations: 15.44 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of SimCode: time 2.4e-07/0.4198, allocations: 0 / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of Templates: time 0.004896/0.4247, allocations: 1.352 MB / 1.337 GB, free: 6.133 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 -s gbode -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/jenkins1/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.063791174994549]