Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001757/0.001757, allocations: 82.41 kB / 19.76 MB, free: 1.875 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.002128/0.002128, allocations: 163.2 kB / 23.01 MB, free: 4.594 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.51/1.51, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.964/2.964, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002109/0.002109, allocations: 63.91 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8841/0.8862, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001992/0.8882, allocations: 0.8392 MB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002633/0.8885, allocations: 96.2 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.8886, allocations: 4.125 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.8887, allocations: 22.42 kB / 1.188 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.8888, allocations: 22 kB / 1.188 GB, free: 15.58 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 7.728e-05/0.8889, allocations: 38.73 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.8892, allocations: 258.3 kB / 1.188 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.8895, allocations: 170.4 kB / 1.188 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.8896, allocations: 132.5 kB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.8897, allocations: 147.3 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.315e-05/0.8898, allocations: 33.75 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.64e-05/0.8898, allocations: 31.97 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.098e-05/0.8899, allocations: 94.2 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.89, allocations: 115 kB / 1.189 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.8905, allocations: 468.7 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8905, allocations: 0 / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8905, allocations: 0.5625 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.8905, allocations: 1.344 kB / 1.189 GB, free: 14.89 MB / 1.076 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.0006442/0.8912, allocations: 0.5267 MB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.8912, allocations: 8.938 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.8913, allocations: 44.08 kB / 1.19 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.8917, allocations: 270.5 kB / 1.19 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.8917, allocations: 33.27 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.8918, allocations: 33.78 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.8924, allocations: 406.7 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.8924, allocations: 192 / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.8925, allocations: 14.94 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.8925, allocations: 7.719 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.8929, allocations: 298.6 kB / 1.191 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.8942, allocations: 0.8485 MB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.8943, allocations: 90.22 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.8944, allocations: 43.88 kB / 1.192 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.8944, allocations: 1.703 kB / 1.192 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.8944, allocations: 37.34 kB / 1.192 GB, free: 13.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.8944, allocations: 0 / 1.192 GB, free: 13.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0003174/0.8947, allocations: 154.6 kB / 1.192 GB, free: 13.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.8947, allocations: 83.81 kB / 1.192 GB, free: 13.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.8951, allocations: 342.9 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.8951, allocations: 30.98 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.8952, allocations: 210 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.8952, allocations: 20.62 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-05/0.8953, allocations: 75.27 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.8954, allocations: 331.4 kB / 1.193 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.8955, allocations: 64.94 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.8956, allocations: 90.44 kB / 1.193 GB, free: 12.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.8958, allocations: 118.5 kB / 1.193 GB, free: 12.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8958, allocations: 0 / 1.193 GB, free: 12.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002745/0.896, allocations: 196.9 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.896, allocations: 5.094 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8961, allocations: 4.641 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.8961, allocations: 6.125 kB / 1.193 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.8962, allocations: 30.5 kB / 1.193 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8962, allocations: 5.094 kB / 1.193 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.8963, allocations: 18 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.8963, allocations: 6.156 kB / 1.193 GB, free: 12.07 MB / 1.076 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.0001775/0.8965, allocations: 202.5 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.8965, allocations: 20.73 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.8967, allocations: 109.2 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.8967, allocations: 5.781 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8967, allocations: 3.938 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8967, allocations: 1.672 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.8972, allocations: 0.5536 MB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8972, allocations: 5.688 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.8972, allocations: 4.969 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8972, allocations: 8.875 kB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.8972, allocations: 2.75 kB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8972, allocations: 5.375 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8972, allocations: 1.688 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.8973, allocations: 116.9 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.8974, allocations: 20.98 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.8974, allocations: 7.047 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.249e-05/0.8974, allocations: 3.844 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.8974, allocations: 8.719 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.8974, allocations: 1.125 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002389/0.8977, allocations: 236 kB / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8977, allocations: 0 / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002605/0.8979, allocations: 65.77 kB / 1.195 GB, free: 11.04 MB / 1.076 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 8.691e-05/0.898, allocations: 97.06 kB / 1.195 GB, free: 10.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.8983, allocations: 99.58 kB / 1.195 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8983, allocations: 0 / 1.195 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.8983, allocations: 18.22 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.8985, allocations: 22.23 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.8992, allocations: 493.6 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.8994, allocations: 183.1 kB / 1.195 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.165e-05/0.8995, allocations: 47.58 kB / 1.196 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.8995, allocations: 17.98 kB / 1.196 GB, free: 10.48 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/0.8995, allocations: 0 / 1.196 GB, free: 10.48 MB / 1.076 GB Notification: Performance of Templates: time 0.00476/0.9043, allocations: 1.203 MB / 1.197 GB, free: 10.29 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.839738265960477]