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.001259/0.001259, allocations: 114 kB / 17.13 MB, free: 5.926 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.001375/0.001375, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.434/1.434, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.98/2.98, allocations: 0.49 GB / 0.7923 GB, free: 1.41 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.002097/0.002097, allocations: 67.89 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9012/0.9033, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001918/0.9052, allocations: 0.869 MB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002602/0.9054, allocations: 89.33 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.9055, allocations: 6.906 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.9057, allocations: 17.3 kB / 1.323 GB, free: 24.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.9058, allocations: 15.3 kB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.033e-05/0.9059, allocations: 42.59 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.9061, allocations: 255.8 kB / 1.323 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.9064, allocations: 230.4 kB / 1.323 GB, free: 24.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.9065, allocations: 132.6 kB / 1.324 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.9066, allocations: 143.3 kB / 1.324 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.9067, allocations: 34.09 kB / 1.324 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.621e-05/0.9067, allocations: 32.28 kB / 1.324 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.9068, allocations: 85.81 kB / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.9069, allocations: 156 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.9072, allocations: 471.7 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.9072, allocations: 3.938 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9072, allocations: 0 / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.9072, allocations: 0 / 1.324 GB, free: 23.7 MB / 1.061 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.0005845/0.9078, allocations: 0.6035 MB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.9078, allocations: 12.77 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.9079, allocations: 42.25 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.9082, allocations: 329.4 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.9083, allocations: 39.61 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.9083, allocations: 34.47 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.9088, allocations: 399.8 kB / 1.326 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.9088, allocations: 192 / 1.326 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.9089, allocations: 14.91 kB / 1.326 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.9089, allocations: 8.25 kB / 1.326 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.9093, allocations: 306.7 kB / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.9106, allocations: 1.054 MB / 1.327 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.9108, allocations: 92.61 kB / 1.327 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.248e-05/0.9108, allocations: 45.09 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.9108, allocations: 1.125 kB / 1.327 GB, free: 21.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.9109, allocations: 36.06 kB / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.9109, allocations: 0 / 1.327 GB, free: 21.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003464/0.9112, allocations: 167.7 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.9112, allocations: 86.19 kB / 1.328 GB, free: 21.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.9118, allocations: 0.5054 MB / 1.328 GB, free: 21.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.9118, allocations: 26.3 kB / 1.328 GB, free: 21.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.912, allocations: 212.7 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.912, allocations: 20.98 kB / 1.328 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/0.9121, allocations: 52.91 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.9122, allocations: 346.9 kB / 1.329 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.9123, allocations: 65.23 kB / 1.329 GB, free: 20.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.9124, allocations: 92.58 kB / 1.329 GB, free: 20.72 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.9126, allocations: 113.4 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9126, allocations: 0.9688 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003375/0.9129, allocations: 217.3 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.913, allocations: 6.609 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.913, allocations: 0.5 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.913, allocations: 1.312 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.9132, allocations: 34.7 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.9132, allocations: 5.328 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.857e-05/0.9133, allocations: 34.11 kB / 1.329 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.9133, allocations: 5.438 kB / 1.329 GB, free: 20.52 MB / 1.061 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.0001935/0.9135, allocations: 206.3 kB / 1.329 GB, free: 20.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.9135, allocations: 33.97 kB / 1.329 GB, free: 20.35 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.9138, allocations: 114.1 kB / 1.33 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.9138, allocations: 5.859 kB / 1.33 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.9138, allocations: 1.469 kB / 1.33 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9138, allocations: 0.7031 kB / 1.33 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.9142, allocations: 0.6601 MB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.9143, allocations: 5.156 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.9143, allocations: 5.047 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9143, allocations: 1.188 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.9143, allocations: 2.234 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9143, allocations: 5.312 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9143, allocations: 1.594 kB / 1.33 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.9144, allocations: 141.2 kB / 1.33 GB, free: 19.56 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.9145, allocations: 124.8 kB / 1.331 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.9145, allocations: 2.25 kB / 1.331 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.489e-05/0.9146, allocations: 2.797 kB / 1.331 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.9146, allocations: 8.547 kB / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.9146, allocations: 2.188 kB / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004161/0.915, allocations: 390.1 kB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.915, allocations: 0 / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002596/0.9153, allocations: 41.41 kB / 1.331 GB, free: 19.26 MB / 1.061 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 9.752e-05/0.9154, allocations: 102.8 kB / 1.331 GB, free: 19.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.9156, allocations: 100.2 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9156, allocations: 4 kB / 1.331 GB, free: 19.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.82e-05/0.9156, allocations: 18.39 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.9159, allocations: 34.05 kB / 1.331 GB, free: 19.1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.9166, allocations: 0.5316 MB / 1.332 GB, free: 18.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.9169, allocations: 0.7888 MB / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.917, allocations: 23.77 kB / 1.333 GB, free: 18.03 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.917, allocations: 1.469 kB / 1.333 GB, free: 18.03 MB / 1.061 GB Notification: Performance of Templates: time 0.008286/0.9252, allocations: 3.81 MB / 1.336 GB, free: 17.64 MB / 1.061 GB " [Timeout remaining time 299] 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 -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: 11.447097098993254]