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.001638/0.001638, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002039/0.002039, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.796/2.796, allocations: 476.8 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] 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.002051/0.002051, allocations: 67.28 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2936, allocations: 170 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002129/0.2957, allocations: 0.8694 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000257/0.2959, allocations: 97.41 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.296, allocations: 4 kB / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2961, allocations: 19.78 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.2963, allocations: 19.86 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.731e-05/0.2963, allocations: 35.97 kB / 1.286 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.2967, allocations: 259.4 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.297, allocations: 178.8 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.2971, allocations: 131.6 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.2973, allocations: 147.2 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.2973, allocations: 32 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.2974, allocations: 36 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-05/0.2975, allocations: 83.72 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.2976, allocations: 151.1 kB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.2981, allocations: 462 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2981, allocations: 7.938 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2981, allocations: 0 / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2981, allocations: 0 / 1.287 GB, free: 8.754 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.0007209/0.2988, allocations: 0.5343 MB / 1.288 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.2988, allocations: 8.031 kB / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.2989, allocations: 44.66 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.2994, allocations: 270.5 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.2994, allocations: 41 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.2995, allocations: 32.38 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006246/0.3001, allocations: 404.2 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3001, allocations: 192 / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.3001, allocations: 15.94 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3001, allocations: 8 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.3006, allocations: 303.6 kB / 1.289 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.302, allocations: 1.017 MB / 1.29 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.3022, allocations: 93.16 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.3023, allocations: 45.78 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3023, allocations: 0 / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.3023, allocations: 34.5 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.3023, allocations: 0 / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003458/0.3026, allocations: 169.4 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3027, allocations: 84.98 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005812/0.3033, allocations: 0.5092 MB / 1.291 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3033, allocations: 25.7 kB / 1.291 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3035, allocations: 211.7 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3035, allocations: 15.84 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/0.3036, allocations: 57.69 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3037, allocations: 342.8 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.3038, allocations: 75.94 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.304, allocations: 83.55 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.3041, allocations: 117.5 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3041, allocations: 0 / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003061/0.3044, allocations: 209.7 kB / 1.292 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3045, allocations: 4 kB / 1.292 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3045, allocations: 7.984 kB / 1.292 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3045, allocations: 4 kB / 1.292 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.3046, allocations: 31.88 kB / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3046, allocations: 0 / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.594e-05/0.3047, allocations: 39.72 kB / 1.292 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3047, allocations: 4 kB / 1.292 GB, free: 3.746 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.0002017/0.3049, allocations: 203.5 kB / 1.292 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.305, allocations: 31.77 kB / 1.292 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.3052, allocations: 118.1 kB / 1.292 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3052, allocations: 7.875 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3052, allocations: 3.984 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3052, allocations: 0 / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.3058, allocations: 0.6283 MB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3058, allocations: 4 kB / 1.293 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.3058, allocations: 0 / 1.293 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3058, allocations: 4 kB / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.3058, allocations: 0 / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3058, allocations: 11.92 kB / 1.293 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3058, allocations: 192 / 1.293 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.306, allocations: 131.5 kB / 1.293 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.3061, allocations: 55.69 kB / 1.293 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.3061, allocations: 0 / 1.293 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.032e-05/0.3062, allocations: 4 kB / 1.293 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.3062, allocations: 7.938 kB / 1.293 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3062, allocations: 3.938 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004439/0.3066, allocations: 395 kB / 1.293 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3066, allocations: 0 / 1.293 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002363/0.3069, allocations: 39.94 kB / 1.293 GB, free: 2.008 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.0001135/0.307, allocations: 99.23 kB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3072, allocations: 103.9 kB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3072, allocations: 0 / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.3072, allocations: 19.92 kB / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3075, allocations: 37.84 kB / 1.294 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.3082, allocations: 0.523 MB / 1.294 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.3086, allocations: 0.787 MB / 1.295 GB, free: 372 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.3087, allocations: 31.36 kB / 1.295 GB, free: 340 kB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3087, allocations: 0 / 1.295 GB, free: 340 kB / 0.9825 GB Notification: Performance of Templates: time 0.00612/0.3148, allocations: 3.795 MB / 1.299 GB, free: 12.54 MB / 0.9981 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/jenkins1/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: 11.11746433499502]