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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.918/2.918, allocations: 496 MB / 0.7835 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 65.86 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3343, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002521/0.3368, allocations: 0.882 MB / 1.308 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004193/0.3372, allocations: 87.7 kB / 1.308 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.3374, allocations: 7.938 kB / 1.308 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.3376, allocations: 19.78 kB / 1.308 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.3378, allocations: 27.8 kB / 1.308 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.3379, allocations: 39.95 kB / 1.308 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000368/0.3382, allocations: 255.4 kB / 1.309 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.3386, allocations: 174.8 kB / 1.309 GB, free: 332 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.3389, allocations: 139.5 kB / 1.309 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.3391, allocations: 143.3 kB / 1.309 GB, free: 48 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.3392, allocations: 32 kB / 1.309 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.3393, allocations: 36.05 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.3394, allocations: 79.73 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.3395, allocations: 151.1 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.3401, allocations: 466 kB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3401, allocations: 4 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3401, allocations: 0 / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.3401, allocations: 0 / 1.31 GB, free: 15.29 MB / 1.014 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.0009956/0.3411, allocations: 0.5285 MB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3412, allocations: 8.031 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.3413, allocations: 40.7 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.3417, allocations: 267.2 kB / 1.311 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/0.3418, allocations: 37.02 kB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.3418, allocations: 36.38 kB / 1.311 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/0.3425, allocations: 400.2 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3425, allocations: 4.125 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.3425, allocations: 15.94 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3426, allocations: 8 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004798/0.343, allocations: 303.6 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.3447, allocations: 1.028 MB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3449, allocations: 89.16 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/0.345, allocations: 45.78 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.345, allocations: 0 / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.3451, allocations: 34.56 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.3451, allocations: 0 / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.000391/0.3455, allocations: 173.3 kB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.3455, allocations: 81.05 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006318/0.3462, allocations: 0.5053 MB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3462, allocations: 29.64 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3464, allocations: 207.7 kB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.3464, allocations: 15.89 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.3465, allocations: 61.64 kB / 1.314 GB, free: 11.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3467, allocations: 338.8 kB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3468, allocations: 75.94 kB / 1.314 GB, free: 10.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3469, allocations: 81.67 kB / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3471, allocations: 117.5 kB / 1.314 GB, free: 10.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3471, allocations: 0 / 1.314 GB, free: 10.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000323/0.3474, allocations: 205.4 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3474, allocations: 12 kB / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3474, allocations: 3.984 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3474, allocations: 4 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.3476, allocations: 31.88 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3476, allocations: 0 / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.3477, allocations: 43.67 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3477, allocations: 4 kB / 1.314 GB, free: 10.28 MB / 1.014 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.000223/0.3479, allocations: 203.7 kB / 1.315 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.348, allocations: 27.81 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.3482, allocations: 126 kB / 1.315 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3482, allocations: 4.312 kB / 1.315 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3482, allocations: 7.922 kB / 1.315 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3482, allocations: 0 / 1.315 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.3489, allocations: 0.6321 MB / 1.315 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3489, allocations: 4 kB / 1.315 GB, free: 9.195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.3489, allocations: 7.984 kB / 1.315 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.3489, allocations: 0 / 1.315 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.3489, allocations: 0 / 1.315 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3489, allocations: 7.984 kB / 1.315 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3489, allocations: 3.938 kB / 1.315 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.3491, allocations: 127.6 kB / 1.315 GB, free: 9.023 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.3492, allocations: 51.75 kB / 1.316 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.3492, allocations: 0 / 1.316 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.033e-05/0.3492, allocations: 4 kB / 1.316 GB, free: 8.969 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.3493, allocations: 8 kB / 1.316 GB, free: 8.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.3493, allocations: 0 / 1.316 GB, free: 8.961 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004411/0.3497, allocations: 391 kB / 1.316 GB, free: 8.586 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3497, allocations: 3.938 kB / 1.316 GB, free: 8.582 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002415/0.3499, allocations: 43.89 kB / 1.316 GB, free: 8.539 MB / 1.014 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.0001107/0.3501, allocations: 100 kB / 1.316 GB, free: 8.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3503, allocations: 99.89 kB / 1.316 GB, free: 8.332 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3503, allocations: 4 kB / 1.316 GB, free: 8.328 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.3503, allocations: 19.92 kB / 1.316 GB, free: 8.309 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.3505, allocations: 31.94 kB / 1.316 GB, free: 8.277 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007386/0.3513, allocations: 0.5056 MB / 1.317 GB, free: 7.734 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.3517, allocations: 0.7872 MB / 1.317 GB, free: 6.922 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.3518, allocations: 58.94 kB / 1.318 GB, free: 6.867 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.3518, allocations: 19.44 kB / 1.318 GB, free: 6.848 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3518, allocations: 0 / 1.318 GB, free: 6.848 MB / 1.014 GB Notification: Performance of Templates: time 0.005325/0.3572, allocations: 2.074 MB / 1.32 GB, free: 4.781 MB / 1.014 GB " [Timeout remaining time 300] 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/jenkins/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: 8.04950815346092]