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.0007934/0.0007934, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007582/0.0007582, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.844/0.844, allocations: 177.2 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.609/1.609, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.043e-06/2.043e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.77e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001239/0.001257, allocations: 0.8468 MB / 0.9525 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002385/0.001496, allocations: 99.56 kB / 0.9526 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.001575, allocations: 4 kB / 0.9526 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.001685, allocations: 19.73 kB / 0.9527 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.001806, allocations: 23.86 kB / 0.9527 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.95e-05/0.001866, allocations: 39.94 kB / 0.9527 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.002058, allocations: 259.4 kB / 0.953 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.002278, allocations: 166.9 kB / 0.9531 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.002394, allocations: 187.6 kB / 0.9533 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.002596, allocations: 127.7 kB / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.002636, allocations: 32 kB / 0.9535 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 2.387e-05/0.00266, allocations: 32 kB / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.002718, allocations: 87.67 kB / 0.9536 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.00278, allocations: 91.77 kB / 0.9537 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.003066, allocations: 474.4 kB / 0.9541 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003068, allocations: 4 kB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003069, allocations: 3.938 kB / 0.9541 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.003073, allocations: 0 / 0.9541 GB, free: 0.5352 MB / 0.9011 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.0004729/0.003546, allocations: 0.5247 MB / 0.9546 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.00358, allocations: 11.97 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.003628, allocations: 40.7 kB / 0.9547 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.003898, allocations: 273.6 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.003937, allocations: 33.03 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.003963, allocations: 28.38 kB / 0.955 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.004356, allocations: 408 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.004367, allocations: 192 / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.004388, allocations: 20.36 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.004395, allocations: 8.375 kB / 0.9554 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.004683, allocations: 311.5 kB / 0.9557 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.005454, allocations: 0.8335 MB / 0.9565 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.00556, allocations: 81.22 kB / 0.9566 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.005601, allocations: 49.73 kB / 0.9566 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.00562, allocations: 4 kB / 0.9567 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.005639, allocations: 38.56 kB / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.00564, allocations: 0 / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002297/0.00587, allocations: 157.4 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.005904, allocations: 81.11 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.006124, allocations: 341.6 kB / 0.9572 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.006134, allocations: 29.7 kB / 0.9573 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.006224, allocations: 212.3 kB / 0.9575 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.006235, allocations: 15.89 kB / 0.9575 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.006294, allocations: 77.59 kB / 0.9576 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.006373, allocations: 338.8 kB / 0.9579 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.006439, allocations: 67.95 kB / 0.9579 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.006513, allocations: 87.22 kB / 0.958 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.006617, allocations: 117.5 kB / 0.9581 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.006621, allocations: 4 kB / 0.9581 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001676/0.006788, allocations: 197.4 kB / 0.9583 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.006799, allocations: 4 kB / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.006805, allocations: 4 kB / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.006816, allocations: 0 / 0.9583 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.006908, allocations: 31.98 kB / 0.9584 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.006914, allocations: 0 / 0.9584 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.006942, allocations: 11.89 kB / 0.9584 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.006954, allocations: 12 kB / 0.9584 GB, free: 11.93 MB / 0.9167 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.000134/0.007088, allocations: 212 kB / 0.9586 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.007119, allocations: 23.86 kB / 0.9586 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.007247, allocations: 100.7 kB / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.007249, allocations: 0 / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.007252, allocations: 0 / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.007255, allocations: 4.062 kB / 0.9587 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.007542, allocations: 0.5586 MB / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.007544, allocations: 0 / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.007557, allocations: 7.938 kB / 0.9593 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.007559, allocations: 0 / 0.9593 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.007567, allocations: 4 kB / 0.9593 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.007569, allocations: 7.938 kB / 0.9593 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.00757, allocations: 0 / 0.9593 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.137e-05/0.007642, allocations: 115.9 kB / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.007661, allocations: 31.77 kB / 0.9594 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.007673, allocations: 3.938 kB / 0.9594 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.308e-05/0.007696, allocations: 7.938 kB / 0.9594 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.007715, allocations: 8 kB / 0.9594 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.007716, allocations: 3.938 kB / 0.9594 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001397/0.007856, allocations: 237.2 kB / 0.9597 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007856, allocations: 0 / 0.9597 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001624/0.008019, allocations: 59.73 kB / 0.9597 GB, free: 10.46 MB / 0.9167 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 7.114e-05/0.00809, allocations: 99.23 kB / 0.9598 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.008223, allocations: 99.89 kB / 0.9599 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008224, allocations: 0 / 0.9599 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.711e-05/0.008241, allocations: 15.94 kB / 0.9599 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.008392, allocations: 20.48 kB / 0.96 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.008912, allocations: 0.5214 MB / 0.9605 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.009024, allocations: 179.4 kB / 0.9606 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.009062, allocations: 20.5 kB / 0.9607 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.009063, allocations: 0 / 0.9607 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of Templates: time 0.002925/0.01199, allocations: 3.181 MB / 0.9638 GB, free: 6.262 MB / 0.9167 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: 6.574301302433014]