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.001967/0.001967, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002548/0.002548, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.474/1.474, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.701/2.701, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: 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 2.696e-06/2.696e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.998e-05/4.267e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002475/0.002518, allocations: 0.836 MB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.002903, allocations: 96.2 kB / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.003012, allocations: 4 kB / 0.9519 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.003183, allocations: 23.78 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.003402, allocations: 19.8 kB / 0.9519 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.003509, allocations: 39.97 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004071/0.003917, allocations: 255.4 kB / 0.9522 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.004294, allocations: 170.9 kB / 0.9524 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.004569, allocations: 187.6 kB / 0.9525 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.004806, allocations: 123.7 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.004878, allocations: 39.94 kB / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.818e-05/0.004946, allocations: 36 kB / 0.9527 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.005066, allocations: 87.69 kB / 0.9528 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.005212, allocations: 87.75 kB / 0.9529 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.00585, allocations: 470.4 kB / 0.9533 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.005856, allocations: 0 / 0.9533 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005857, allocations: 0 / 0.9533 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.005866, allocations: 0 / 0.9533 GB, free: 9.086 MB / 0.8575 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.001113/0.006979, allocations: 0.5246 MB / 0.9539 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.007035, allocations: 12.03 kB / 0.9539 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.007138, allocations: 44.66 kB / 0.9539 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.007727, allocations: 277.8 kB / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.007811, allocations: 44.89 kB / 0.9542 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.007869, allocations: 32.38 kB / 0.9543 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/0.008731, allocations: 400 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.00875, allocations: 4.188 kB / 0.9546 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.008787, allocations: 8.375 kB / 0.9546 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.008805, allocations: 8.375 kB / 0.9547 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005626/0.009368, allocations: 307.5 kB / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.01094, allocations: 0.8452 MB / 0.9558 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.01112, allocations: 89.22 kB / 0.9559 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.765e-05/0.0112, allocations: 45.78 kB / 0.9559 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.01124, allocations: 0 / 0.9559 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.01128, allocations: 38.5 kB / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.01128, allocations: 0 / 0.9559 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004288/0.01171, allocations: 157.4 kB / 0.9561 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.01179, allocations: 77.11 kB / 0.9562 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.01223, allocations: 341.6 kB / 0.9565 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.01227, allocations: 25.7 kB / 0.9565 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.01248, allocations: 216.4 kB / 0.9567 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.0125, allocations: 19.88 kB / 0.9567 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.01261, allocations: 73.62 kB / 0.9568 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.01282, allocations: 334.8 kB / 0.9571 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.01296, allocations: 67.95 kB / 0.9572 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.01311, allocations: 89.66 kB / 0.9573 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.01332, allocations: 117.5 kB / 0.9574 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01332, allocations: 0 / 0.9574 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003451/0.01366, allocations: 201.4 kB / 0.9576 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.01369, allocations: 6.031 kB / 0.9576 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.0137, allocations: 4 kB / 0.9576 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.01372, allocations: 0 / 0.9576 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.01389, allocations: 27.98 kB / 0.9576 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.0139, allocations: 4 kB / 0.9576 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.01396, allocations: 15.89 kB / 0.9576 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.01398, allocations: 4 kB / 0.9576 GB, free: 4.465 MB / 0.8575 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.0002441/0.01422, allocations: 207.6 kB / 0.9578 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.01429, allocations: 19.86 kB / 0.9579 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.01452, allocations: 109 kB / 0.958 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01452, allocations: 0 / 0.958 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.01453, allocations: 4 kB / 0.958 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01453, allocations: 3.984 kB / 0.958 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.01521, allocations: 0.551 MB / 0.9585 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.01522, allocations: 4 kB / 0.9585 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.01524, allocations: 11.94 kB / 0.9585 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01524, allocations: 4.125 kB / 0.9585 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.01525, allocations: 7.984 kB / 0.9585 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.01526, allocations: 7.938 kB / 0.9585 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01526, allocations: 0 / 0.9585 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.01542, allocations: 107.6 kB / 0.9586 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.01546, allocations: 27.8 kB / 0.9587 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.01549, allocations: 8 kB / 0.9587 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.582e-05/0.01553, allocations: 7.938 kB / 0.9587 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.01556, allocations: 7.922 kB / 0.9587 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.01557, allocations: 4 kB / 0.9587 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002871/0.01586, allocations: 233.2 kB / 0.9589 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.01586, allocations: 8 kB / 0.9589 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002864/0.01615, allocations: 59.67 kB / 0.959 GB, free: 2.996 MB / 0.8575 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.0001322/0.01628, allocations: 95.25 kB / 0.9591 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000321/0.0166, allocations: 103.9 kB / 0.9592 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0166, allocations: 0 / 0.9592 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.01664, allocations: 15.94 kB / 0.9592 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.01688, allocations: 16.75 kB / 0.9592 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000867/0.01775, allocations: 497.8 kB / 0.9597 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.01798, allocations: 191.1 kB / 0.9599 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.01808, allocations: 37.61 kB / 0.9599 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.01813, allocations: 16.5 kB / 0.9599 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.01813, allocations: 0 / 0.9599 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of Templates: time 0.005147/0.02328, allocations: 1.186 MB / 0.9611 GB, free: 0.8125 MB / 0.8575 GB " [Timeout remaining time 300] 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: 7.931121055036783]