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.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.001602/0.001602, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00198/0.00198, allocations: 198 kB / 22.17 MB, free: 5.211 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.587/1.587, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7645 GB, free: 10.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.003137/0.003137, allocations: 71.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9558/0.959, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002667/0.9616, allocations: 0.8683 MB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003704/0.962, allocations: 91.64 kB / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.9621, allocations: 4 kB / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.9623, allocations: 19.8 kB / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.9624, allocations: 23.78 kB / 1.275 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.621e-05/0.9625, allocations: 39.97 kB / 1.275 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.9629, allocations: 255.4 kB / 1.275 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/0.9633, allocations: 170.4 kB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.9635, allocations: 135.5 kB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.9638, allocations: 143.3 kB / 1.276 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.9638, allocations: 32 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.395e-05/0.9639, allocations: 32 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.964, allocations: 87.7 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.9642, allocations: 159.1 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.9647, allocations: 460.8 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.9647, allocations: 0 / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9647, allocations: 0 / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.9647, allocations: 0 / 1.276 GB, free: 2.066 MB / 0.9669 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.0008929/0.9656, allocations: 0.6116 MB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.9657, allocations: 12.03 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.9658, allocations: 40.7 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.9663, allocations: 328.3 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.9664, allocations: 41.02 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.9664, allocations: 28.38 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/0.9671, allocations: 404.2 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.9671, allocations: 4.172 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.9671, allocations: 19.94 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.9671, allocations: 8 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005636/0.9677, allocations: 299.6 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.9693, allocations: 1.065 MB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.9694, allocations: 89.16 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.9695, allocations: 43.34 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.9695, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.9696, allocations: 42.48 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.9696, allocations: 0 / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003962/0.97, allocations: 169.4 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.9701, allocations: 84.98 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008592/0.9709, allocations: 0.5053 MB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.971, allocations: 25.7 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.9712, allocations: 215.6 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.9712, allocations: 11.89 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/0.9713, allocations: 57.66 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002968/0.9716, allocations: 346.8 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.9717, allocations: 67.95 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.9718, allocations: 87.22 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.972, allocations: 117.6 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.972, allocations: 0 / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003122/0.9723, allocations: 201.4 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.9723, allocations: 7.938 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9723, allocations: 4.188 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.9724, allocations: 0 / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.9725, allocations: 47.8 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.9725, allocations: 0 / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.462e-05/0.9726, allocations: 35.69 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.9726, allocations: 8 kB / 1.281 GB, free: 12.83 MB / 0.9825 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.0002369/0.9729, allocations: 207.8 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.9729, allocations: 27.81 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003476/0.9733, allocations: 114 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.9733, allocations: 7.938 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9733, allocations: 3.938 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.9733, allocations: 0 / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007094/0.974, allocations: 0.6643 MB / 1.282 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.974, allocations: 0 / 1.282 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.974, allocations: 4 kB / 1.282 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.974, allocations: 0 / 1.282 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.974, allocations: 4 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.974, allocations: 3.938 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.974, allocations: 0 / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.9742, allocations: 135.5 kB / 1.282 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.9744, allocations: 120.9 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.9744, allocations: 0 / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.9745, allocations: 4 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.9745, allocations: 11.92 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.9745, allocations: 4 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004935/0.975, allocations: 387 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.975, allocations: 4 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002493/0.9753, allocations: 43.89 kB / 1.283 GB, free: 10.97 MB / 0.9825 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.0002072/0.9755, allocations: 99.78 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.9757, allocations: 99.88 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9757, allocations: 0 / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.069e-05/0.9758, allocations: 15.94 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.9761, allocations: 38.12 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.9771, allocations: 0.5134 MB / 1.284 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.9777, allocations: 0.7947 MB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.9778, allocations: 58.92 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.9778, allocations: 31.31 kB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.9778, allocations: 0 / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of Templates: time 0.006477/0.9843, allocations: 2.017 MB / 1.287 GB, free: 7.246 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.91736172977835]