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.001701/0.001701, 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.002304/0.002304, allocations: 212 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.962/2.962, allocations: 475.9 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002185/0.002185, allocations: 71.25 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4284, allocations: 169.9 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002442/0.4308, allocations: 0.8426 MB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003341/0.4312, allocations: 89.47 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.4313, allocations: 11.94 kB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.4314, allocations: 19.8 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.4316, allocations: 15.86 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.95e-05/0.4317, allocations: 43.95 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.432, allocations: 255.4 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.4323, allocations: 170.8 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.4325, allocations: 131.6 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.4327, allocations: 151.3 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.4327, allocations: 32 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.4328, allocations: 32 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.4329, allocations: 91.7 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.433, allocations: 115.3 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.4335, allocations: 470 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4335, allocations: 0 / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4335, allocations: 0 / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.4335, allocations: 0 / 1.285 GB, free: 9.469 MB / 0.9825 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.0007925/0.4343, allocations: 0.5246 MB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4344, allocations: 15.97 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.4345, allocations: 40.66 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/0.435, allocations: 270.5 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.435, allocations: 45.03 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.4351, allocations: 32.31 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/0.4357, allocations: 396.2 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4358, allocations: 4.188 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.4358, allocations: 19.92 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.4358, allocations: 11.94 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.4363, allocations: 307.5 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.4377, allocations: 0.8339 MB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.4378, allocations: 93.14 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.566e-05/0.4379, allocations: 41.8 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.438, allocations: 0 / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.438, allocations: 38.56 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.438, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003544/0.4383, allocations: 153.5 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.4384, allocations: 77.11 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.4388, allocations: 349.5 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.4388, allocations: 25.7 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.439, allocations: 216.4 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.439, allocations: 15.94 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4391, allocations: 77.58 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4393, allocations: 334.8 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4394, allocations: 63.95 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4395, allocations: 95.78 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.4397, allocations: 109.7 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4397, allocations: 0 / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002953/0.44, allocations: 201.3 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.44, allocations: 4 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.44, allocations: 0 / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.44, allocations: 0 / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.4402, allocations: 39.92 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.4402, allocations: 11.92 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.4403, allocations: 19.78 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.4403, allocations: 8 kB / 1.29 GB, free: 4.848 MB / 0.9825 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.0002316/0.4405, allocations: 203.9 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.4406, allocations: 19.91 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.4408, allocations: 100.6 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4408, allocations: 4.062 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4408, allocations: 7.938 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4408, allocations: 0 / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.4413, allocations: 0.5508 MB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4414, allocations: 4 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.4414, allocations: 4 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4414, allocations: 3.938 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4414, allocations: 0 / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4414, allocations: 4 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4414, allocations: 4.125 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.4415, allocations: 115.5 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.4416, allocations: 31.78 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.4416, allocations: 8 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.4417, allocations: 4 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.4417, allocations: 0 / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.4417, allocations: 4 kB / 1.291 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002553/0.4419, allocations: 241.2 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4419, allocations: 0 / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002472/0.4422, allocations: 51.73 kB / 1.291 GB, free: 3.402 MB / 0.9825 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.0001213/0.4423, allocations: 115.2 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.4425, allocations: 111.8 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.4425, allocations: 0 / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.4426, allocations: 15.94 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.4428, allocations: 24.42 kB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.4436, allocations: 477.9 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.4438, allocations: 187.4 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.091e-05/0.4439, allocations: 37.61 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.4439, allocations: 15.44 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.4439, allocations: 4 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of Templates: time 0.005078/0.449, allocations: 1.33 MB / 1.293 GB, free: 1.062 MB / 0.9825 GB " [Timeout remaining time 299] 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: 9.327947240322828]