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.001818/0.001818, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002217/0.002217, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.483/1.483, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.812/2.812, 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.745e-06/2.745e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.544e-05/3.818e-05, allocations: 9.766 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.003814/0.003852, allocations: 0.8466 MB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004888/0.004341, allocations: 96.47 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.004465, allocations: 4 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.00467, allocations: 27.72 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.004871, allocations: 12.91 kB / 0.7873 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.005035, allocations: 43.95 kB / 0.7874 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005847/0.005619, allocations: 260.5 kB / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005345/0.006154, allocations: 166.9 kB / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.006591, allocations: 191.6 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.006924, allocations: 124.2 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.007026, allocations: 32 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.007103, allocations: 33 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.007283, allocations: 87.69 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.007513, allocations: 95.69 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009537/0.008467, allocations: 472 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.008471, allocations: 3.938 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.008472, allocations: 0 / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.00849, allocations: 0 / 0.7888 GB, free: 10.37 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.001412/0.009901, allocations: 0.5219 MB / 0.7893 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.009961, allocations: 12.03 kB / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.01018, allocations: 64.69 kB / 0.7894 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/0.011, allocations: 283 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.185e-05/0.01109, allocations: 29.03 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/0.01118, allocations: 33.28 kB / 0.7897 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.01239, allocations: 400.2 kB / 0.7901 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.01241, allocations: 192 / 0.7901 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.01247, allocations: 17.02 kB / 0.7901 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.01249, allocations: 9.969 kB / 0.7901 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000972/0.01346, allocations: 311.2 kB / 0.7904 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.01593, allocations: 0.8417 MB / 0.7912 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.01624, allocations: 92.69 kB / 0.7913 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.01638, allocations: 49.78 kB / 0.7913 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.01641, allocations: 0 / 0.7913 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.01647, allocations: 38.56 kB / 0.7914 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.01647, allocations: 0 / 0.7914 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0006468/0.01712, allocations: 153.8 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/0.01722, allocations: 85.09 kB / 0.7916 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.01797, allocations: 341.5 kB / 0.7919 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.018, allocations: 25.7 kB / 0.792 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.01827, allocations: 213.1 kB / 0.7922 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.01832, allocations: 23.88 kB / 0.7922 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.01852, allocations: 71.34 kB / 0.7923 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003142/0.01883, allocations: 334.8 kB / 0.7926 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.01907, allocations: 67.95 kB / 0.7926 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.01933, allocations: 91.95 kB / 0.7927 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.01968, allocations: 110.6 kB / 0.7928 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01968, allocations: 0 / 0.7928 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000658/0.02034, allocations: 214.4 kB / 0.793 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.02036, allocations: 4 kB / 0.793 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.02038, allocations: 3.984 kB / 0.793 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.02041, allocations: 5.344 kB / 0.793 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.02069, allocations: 27.92 kB / 0.7931 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.0207, allocations: 4 kB / 0.7931 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.02082, allocations: 15.89 kB / 0.7931 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.02085, allocations: 8.719 kB / 0.7931 GB, free: 5.742 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.0003988/0.02125, allocations: 205.8 kB / 0.7933 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.02136, allocations: 19.86 kB / 0.7933 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.02174, allocations: 106.4 kB / 0.7934 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.02175, allocations: 0 / 0.7934 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.02175, allocations: 0 / 0.7934 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.02176, allocations: 0 / 0.7934 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.02282, allocations: 0.5637 MB / 0.794 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.02282, allocations: 0 / 0.794 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.02286, allocations: 4.562 kB / 0.794 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.02286, allocations: 0 / 0.794 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.02287, allocations: 5.125 kB / 0.794 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.02288, allocations: 7.938 kB / 0.794 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.02289, allocations: 0 / 0.794 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.02316, allocations: 121.3 kB / 0.7941 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.02323, allocations: 27.77 kB / 0.7941 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.02327, allocations: 4 kB / 0.7941 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.02335, allocations: 3.938 kB / 0.7941 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.02339, allocations: 9.094 kB / 0.7941 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.0234, allocations: 4 kB / 0.7941 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005305/0.02393, allocations: 233.2 kB / 0.7944 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/0.02393, allocations: 0.9375 kB / 0.7944 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005363/0.02446, allocations: 59.73 kB / 0.7944 GB, free: 4.297 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.0002464/0.02471, allocations: 97 kB / 0.7945 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.02517, allocations: 103.8 kB / 0.7946 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.02518, allocations: 5.188 kB / 0.7946 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.02524, allocations: 12 kB / 0.7946 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.02573, allocations: 25.33 kB / 0.7947 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.02758, allocations: 0.4977 MB / 0.7951 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.02803, allocations: 186 kB / 0.7953 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.02825, allocations: 45.59 kB / 0.7954 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.02839, allocations: 16.5 kB / 0.7954 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of SimCode: time 1.784e-06/0.02839, allocations: 0 / 0.7954 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.008939/0.03733, allocations: 1.195 MB / 0.7965 GB, free: 2.098 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=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: 7.757240329985507]