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.002692/0.002692, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.003201/0.003201, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.568/1.568, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.9/2.9, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.184e-06/2.184e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.742e-05, allocations: 3.719 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002193/0.00222, allocations: 0.8757 MB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000274/0.002494, allocations: 83.7 kB / 0.7873 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.54e-05/0.002579, allocations: 8.781 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.002704, allocations: 23.8 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.002826, allocations: 15.84 kB / 0.7873 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.653e-05/0.002913, allocations: 40.53 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.003242, allocations: 260.6 kB / 0.7876 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.003535, allocations: 162.9 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.003757, allocations: 191.6 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.003943, allocations: 129.2 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.004004, allocations: 32 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.384e-05/0.004058, allocations: 32 kB / 0.7881 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.004169, allocations: 91.69 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.004298, allocations: 95.73 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.004815, allocations: 471.6 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004817, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004818, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.004825, allocations: 0.6875 kB / 0.7888 GB, free: 10.32 MB / 0.7448 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.000824/0.005649, allocations: 0.6477 MB / 0.7894 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.005687, allocations: 12.94 kB / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.005802, allocations: 60.7 kB / 0.7895 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.006292, allocations: 281.2 kB / 0.7897 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/0.006344, allocations: 30.62 kB / 0.7898 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/0.006395, allocations: 36.38 kB / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.007006, allocations: 361.9 kB / 0.7902 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.007018, allocations: 192 / 0.7902 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.007045, allocations: 15.81 kB / 0.7902 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.007056, allocations: 8.375 kB / 0.7902 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.007477, allocations: 227.3 kB / 0.7904 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.009107, allocations: 1.042 MB / 0.7914 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.00928, allocations: 106.1 kB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/0.009357, allocations: 47.45 kB / 0.7916 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.009383, allocations: 3.984 kB / 0.7916 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.009414, allocations: 38.11 kB / 0.7916 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/0.009415, allocations: 0 / 0.7916 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0003428/0.009758, allocations: 147.1 kB / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.009819, allocations: 85.05 kB / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.01039, allocations: 480 kB / 0.7923 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.01042, allocations: 25.7 kB / 0.7923 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.01076, allocations: 280.2 kB / 0.7926 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.01077, allocations: 11.91 kB / 0.7926 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.01095, allocations: 119.3 kB / 0.7927 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002874/0.01124, allocations: 0.5242 MB / 0.7932 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.01135, allocations: 59.95 kB / 0.7933 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.01149, allocations: 95 kB / 0.7934 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.01168, allocations: 119.2 kB / 0.7935 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01168, allocations: 0 / 0.7935 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000328/0.01201, allocations: 193.4 kB / 0.7937 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01202, allocations: 4.906 kB / 0.7937 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01202, allocations: 0 / 0.7937 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.01204, allocations: 5.156 kB / 0.7937 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.01219, allocations: 31.92 kB / 0.7937 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01219, allocations: 0 / 0.7937 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.741e-05/0.01225, allocations: 17.33 kB / 0.7937 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.01227, allocations: 11.98 kB / 0.7937 GB, free: 5.016 MB / 0.7448 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.0002268/0.0125, allocations: 231.5 kB / 0.7939 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.01256, allocations: 20.77 kB / 0.794 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.01278, allocations: 115.1 kB / 0.7941 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01278, allocations: 0 / 0.7941 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.01279, allocations: 4.828 kB / 0.7941 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.01279, allocations: 0 / 0.7941 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007782/0.01357, allocations: 0.7737 MB / 0.7948 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01357, allocations: 0 / 0.7948 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.01359, allocations: 4 kB / 0.7948 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.0136, allocations: 4 kB / 0.7948 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.0136, allocations: 1.281 kB / 0.7948 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.01361, allocations: 3.938 kB / 0.7948 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.01361, allocations: 7.938 kB / 0.7949 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.01379, allocations: 132 kB / 0.795 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.01383, allocations: 20.58 kB / 0.795 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.01386, allocations: 11.98 kB / 0.795 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.066e-05/0.0139, allocations: 4.75 kB / 0.795 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.01393, allocations: 8 kB / 0.795 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.01394, allocations: 8.875 kB / 0.795 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003018/0.01424, allocations: 289.1 kB / 0.7953 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01424, allocations: 0 / 0.7953 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002441/0.01448, allocations: 49 kB / 0.7954 GB, free: 3.242 MB / 0.7448 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.0001169/0.0146, allocations: 100.2 kB / 0.7954 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.01484, allocations: 115.5 kB / 0.7956 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01484, allocations: 2.219 kB / 0.7956 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/0.01488, allocations: 31.61 kB / 0.7956 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.01511, allocations: 29.02 kB / 0.7956 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007774/0.01589, allocations: 496.8 kB / 0.7961 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.01608, allocations: 176.3 kB / 0.7963 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.091e-05/0.01616, allocations: 29.61 kB / 0.7963 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.0162, allocations: 17.09 kB / 0.7963 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.0162, allocations: 4 kB / 0.7963 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of Templates: time 0.004732/0.02093, allocations: 1.191 MB / 0.7975 GB, free: 1.039 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] 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: 7.96951614797581]