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.001704/0.001704, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002234/0.002234, allocations: 191.3 kB / 22.17 MB, free: 5.656 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.627/1.627, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.778/2.778, allocations: 476.7 MB / 0.7645 GB, free: 10.06 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.00203/0.00203, allocations: 71.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/0.7389, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002129/0.7411, allocations: 0.8794 MB / 1.275 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002696/0.7413, allocations: 91.69 kB / 1.275 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.7414, allocations: 7.938 kB / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.7415, allocations: 15.8 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.7417, allocations: 19.86 kB / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.847e-05/0.7417, allocations: 35.97 kB / 1.275 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.7421, allocations: 259.4 kB / 1.275 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.7424, allocations: 170.4 kB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.7425, allocations: 131.5 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.7427, allocations: 139.3 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.7427, allocations: 40 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-05/0.7428, allocations: 35.94 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.7429, allocations: 87.75 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.743, allocations: 155.1 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.7435, allocations: 468.7 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.7435, allocations: 0 / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7435, allocations: 0 / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.7435, allocations: 0 / 1.276 GB, free: 2.047 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.0007526/0.7442, allocations: 0.6038 MB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.7443, allocations: 11.97 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.7443, allocations: 44.7 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.7448, allocations: 328.4 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.7449, allocations: 33.02 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.7449, allocations: 40.31 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.7456, allocations: 396.2 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.7456, allocations: 192 / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.7456, allocations: 15.94 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.7456, allocations: 12 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.7461, allocations: 307.5 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.7476, allocations: 1.058 MB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.7477, allocations: 93.16 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.768e-05/0.7478, allocations: 43.34 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.7478, allocations: 4 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.7479, allocations: 38.55 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.7479, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003451/0.7482, allocations: 169.3 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.7483, allocations: 81.05 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005767/0.7488, allocations: 0.5092 MB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.7489, allocations: 25.7 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.749, allocations: 207.7 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.749, allocations: 11.89 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.7491, allocations: 57.66 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.7493, allocations: 346.8 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.7494, allocations: 63.95 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.7495, allocations: 99.16 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.7497, allocations: 113.6 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7497, allocations: 0 / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003251/0.75, allocations: 209.3 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.75, allocations: 4 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.7501, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.7501, allocations: 4 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.7503, allocations: 39.86 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.7503, allocations: 3.984 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.218e-05/0.7504, allocations: 31.69 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.7504, allocations: 16 kB / 1.281 GB, free: 12.82 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.0002609/0.7506, allocations: 199.9 kB / 1.282 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.7507, allocations: 27.81 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.751, allocations: 121.9 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.751, allocations: 11.92 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.751, allocations: 4.062 kB / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.751, allocations: 0 / 1.282 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.7517, allocations: 0.6602 MB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.7517, allocations: 4.188 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.7517, allocations: 4 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.7517, allocations: 8.062 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.7518, allocations: 4 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7518, allocations: 4 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7518, allocations: 0 / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.7519, allocations: 127.4 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.7521, allocations: 124.9 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.7521, allocations: 4 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.506e-05/0.7522, allocations: 4 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.7522, allocations: 3.984 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.7522, allocations: 4 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004931/0.7527, allocations: 391 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7527, allocations: 0 / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002651/0.753, allocations: 43.89 kB / 1.283 GB, free: 10.95 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.0001662/0.7531, allocations: 107.7 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002627/0.7534, allocations: 99.88 kB / 1.283 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7534, allocations: 0 / 1.283 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.7534, allocations: 15.94 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.7537, allocations: 33.5 kB / 1.283 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.7546, allocations: 0.5175 MB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.7551, allocations: 0.787 MB / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000118/0.7552, allocations: 62.92 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.7553, allocations: 19.44 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of SimCode: time 9.32e-07/0.7553, allocations: 0 / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of Templates: time 0.005917/0.7612, allocations: 2.023 MB / 1.287 GB, free: 7.234 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 gbode -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.553506571799517]